[gedit] panel: do not apply the sidebar class



commit 3ca2bcd9ad39081074fcbc1ef38028f81838b9dd
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Wed Feb 22 17:16:06 2012 +0100

    panel: do not apply the sidebar class

 gedit/gedit-panel.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/gedit/gedit-panel.c b/gedit/gedit-panel.c
index 810c874..38ad616 100644
--- a/gedit/gedit-panel.c
+++ b/gedit/gedit-panel.c
@@ -794,13 +794,6 @@ gedit_panel_add_item (GeditPanel  *panel,
 		gtk_widget_show (item);
 	}
 
-	/* Only apply the sidebar style to the side panel */
-	if (panel->priv->orientation == GTK_ORIENTATION_VERTICAL)
-	{
-		context = gtk_widget_get_style_context (item);
-		gtk_style_context_add_class (context, GTK_STYLE_CLASS_SIDEBAR);
-	}
-
 	gtk_notebook_append_page_menu (GTK_NOTEBOOK (panel->priv->notebook),
 				       item,
 				       tab_label,



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