[gtk/list-styles: 2/3] placessidebar: Use the .navigation-sidebar style class




commit ca1e9c5b4d960a8720e02b585053e93eba5b718f
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Aug 5 16:42:47 2020 -0400

    placessidebar: Use the .navigation-sidebar style class

 gtk/gtkplacessidebar.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index f66bb0a265..6e500444a9 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -3782,6 +3782,7 @@ gtk_places_sidebar_init (GtkPlacesSidebar *sidebar)
 
   /* list box */
   sidebar->list_box = gtk_list_box_new ();
+  gtk_widget_add_css_class (sidebar->list_box, "navigation-sidebar");
 
   gtk_list_box_set_header_func (GTK_LIST_BOX (sidebar->list_box),
                                 list_box_header_func, sidebar, NULL);


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