[gtk+] places view: Add an element name



commit efc7dfd7a71356db4d79e2d5f841241f4ec0751b
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Nov 5 23:41:42 2015 -0500

    places view: Add an element name
    
    Use placesview as the element name.

 gtk/gtkplacesview.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c
index 77dd938..c2790e4 100644
--- a/gtk/gtkplacesview.c
+++ b/gtk/gtkplacesview.c
@@ -2248,6 +2248,8 @@ gtk_places_view_class_init (GtkPlacesViewClass *klass)
   gtk_widget_class_bind_template_callback (widget_class, on_key_press_event);
   gtk_widget_class_bind_template_callback (widget_class, on_listbox_row_activated);
   gtk_widget_class_bind_template_callback (widget_class, on_recent_servers_listbox_row_activated);
+
+  gtk_widget_class_set_css_name (widget_class, "placesview");
 }
 
 static void


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