notebooks: Remove the extra frame from the main and documents panel scrolled windows
This commit is contained in:
parent
057e2aa4ea
commit
7d7249aefb
|
@ -760,8 +760,6 @@ xed_documents_panel_init (XedDocumentsPanel *panel)
|
||||||
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw),
|
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw),
|
||||||
GTK_POLICY_AUTOMATIC,
|
GTK_POLICY_AUTOMATIC,
|
||||||
GTK_POLICY_AUTOMATIC);
|
GTK_POLICY_AUTOMATIC);
|
||||||
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw),
|
|
||||||
GTK_SHADOW_IN);
|
|
||||||
gtk_widget_show (sw);
|
gtk_widget_show (sw);
|
||||||
gtk_box_pack_start (GTK_BOX (panel), sw, TRUE, TRUE, 0);
|
gtk_box_pack_start (GTK_BOX (panel), sw, TRUE, TRUE, 0);
|
||||||
|
|
||||||
|
|
|
@ -1515,8 +1515,6 @@ xed_tab_init (XedTab *tab)
|
||||||
|
|
||||||
gtk_box_pack_end (GTK_BOX (tab), sw, TRUE, TRUE, 0);
|
gtk_box_pack_end (GTK_BOX (tab), sw, TRUE, TRUE, 0);
|
||||||
gtk_container_add (GTK_CONTAINER (sw), tab->priv->view);
|
gtk_container_add (GTK_CONTAINER (sw), tab->priv->view);
|
||||||
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw),
|
|
||||||
GTK_SHADOW_IN);
|
|
||||||
gtk_widget_show (sw);
|
gtk_widget_show (sw);
|
||||||
|
|
||||||
g_signal_connect (doc,
|
g_signal_connect (doc,
|
||||||
|
|
Loading…
Reference in New Issue