diff options
author | Wolfgang Ulbrich <[email protected]> | 2016-02-07 00:54:23 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-02-09 17:13:38 +0100 |
commit | 06c76ba1c353da2c0495dfa0d755ee4956621397 (patch) | |
tree | ec34a6056b8598d41a35865541e2760a7aa3ad5e /libmate-panel-applet | |
parent | a67e8a07a43794bee27e9708b19cbadab31ccb02 (diff) | |
download | mate-panel-06c76ba1c353da2c0495dfa0d755ee4956621397.tar.bz2 mate-panel-06c76ba1c353da2c0495dfa0d755ee4956621397.tar.xz |
libpanel-applet: set css name
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=a773c2ef
Diffstat (limited to 'libmate-panel-applet')
-rw-r--r-- | libmate-panel-applet/mate-panel-applet.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c index bd1806a3..4f4c95fc 100644 --- a/libmate-panel-applet/mate-panel-applet.c +++ b/libmate-panel-applet/mate-panel-applet.c @@ -2247,6 +2247,10 @@ mate_panel_applet_class_init (MatePanelAppletClass *klass) add_tab_bindings (binding_set, GDK_SHIFT_MASK, GTK_DIR_TAB_BACKWARD); add_tab_bindings (binding_set, GDK_CONTROL_MASK, GTK_DIR_TAB_FORWARD); add_tab_bindings (binding_set, GDK_CONTROL_MASK | GDK_SHIFT_MASK, GTK_DIR_TAB_BACKWARD); + +#if GTK_CHECK_VERSION (3, 19, 0) + gtk_widget_class_set_css_name (widget_class, "PanelApplet"); +#endif } GtkWidget* mate_panel_applet_new(void) |