[gedit/wip/newpanel: 1/2] panel: do not show tabs



commit 20eebdc77f9f7fa9be3fb63b436daa8b831727d8
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Jan 24 19:44:35 2012 +0100

    panel: do not show tabs

 gedit/gedit-panel.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/gedit/gedit-panel.c b/gedit/gedit-panel.c
index 810c874..1f2ed62 100644
--- a/gedit/gedit-panel.c
+++ b/gedit/gedit-panel.c
@@ -488,11 +488,7 @@ build_notebook_for_panel (GeditPanel *panel)
 	/* Create the panel notebook */
 	panel->priv->notebook = gtk_notebook_new ();
 
-	gtk_notebook_set_tab_pos (GTK_NOTEBOOK (panel->priv->notebook),
-				  GTK_POS_BOTTOM);
-	gtk_notebook_set_scrollable (GTK_NOTEBOOK (panel->priv->notebook),
-				     TRUE);
-	gtk_notebook_popup_enable (GTK_NOTEBOOK (panel->priv->notebook));
+	gtk_notebook_set_show_tabs (GTK_NOTEBOOK (panel->priv->notebook), FALSE);
 
 	gtk_widget_show (GTK_WIDGET (panel->priv->notebook));
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]