[gtk+/places-sidebar] Set GTK_STYLE_CLASS_SIDEBAR on the sidebar



commit 18f3c4d94ccc79637fe8cb0f52881d773210f497
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon Oct 29 11:52:34 2012 -0600

    Set GTK_STYLE_CLASS_SIDEBAR on the sidebar
    
    Signed-off-by: Federico Mena Quintero <federico gnome org>

 gtk/gtkplacessidebar.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index b856198..10ac11c 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -3295,6 +3295,8 @@ gtk_places_sidebar_init (GtkPlacesSidebar *sidebar)
 	GtkCellRenderer   *cell;
 	GtkTreeSelection  *selection;
 
+	gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (sidebar)), GTK_STYLE_CLASS_SIDEBAR);
+
 	create_volume_monitor (sidebar);
 
 	sidebar->bookmarks_manager = _gtk_bookmarks_manager_new (bookmarks_changed_cb, sidebar);



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