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




commit 2b9c2b24466df1274b47d9052412ce5cc0331f03
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 148a0aa711..dbe9e81116 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -3783,6 +3783,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]