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




commit 4e724486113110e3e5f540edcf168f1b4d85dc09
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]