[gtk+] Add a css name to GtkShortcutsShortcut



commit 27b24bb68f859f4115175c109dc89c091b468408
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Dec 4 13:13:38 2015 -0500

    Add a css name to GtkShortcutsShortcut
    
    This will be useful for tweaking the gesture image details,
    among other things.

 gtk/gtkshortcutsshortcut.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkshortcutsshortcut.c b/gtk/gtkshortcutsshortcut.c
index af5515d..967a536 100644
--- a/gtk/gtkshortcutsshortcut.c
+++ b/gtk/gtkshortcutsshortcut.c
@@ -610,6 +610,7 @@ gtk_shortcuts_shortcut_class_init (GtkShortcutsShortcutClass *klass)
                        (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY));
 
   g_object_class_install_properties (object_class, LAST_PROP, properties);
+  gtk_widget_class_set_css_name (widget_class, "shortcut");
 }
 
 static void


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