diff options
-rw-r--r-- | mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c | 5 | ||||
-rw-r--r-- | mate-panel/panel-separator.c | 6 | ||||
-rw-r--r-- | mate-panel/panel-toplevel.c | 4 |
3 files changed, 14 insertions, 1 deletions
diff --git a/mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c b/mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c index 9330db0d..8aecbf77 100644 --- a/mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c +++ b/mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c @@ -383,6 +383,11 @@ mate_panel_applet_frame_dbus_class_init (MatePanelAppletFrameDBusClass *class) frame_class->change_size = mate_panel_applet_frame_dbus_change_size; frame_class->change_background = mate_panel_applet_frame_dbus_change_background; +#if GTK_CHECK_VERSION (3, 19, 0) + GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (class); + gtk_widget_class_set_css_name (widget_class, "MatePanelAppletFrameDBus"); +#endif + g_type_class_add_private (class, sizeof (MatePanelAppletFrameDBusPrivate)); } diff --git a/mate-panel/panel-separator.c b/mate-panel/panel-separator.c index 7583e199..ff0cac37 100644 --- a/mate-panel/panel-separator.c +++ b/mate-panel/panel-separator.c @@ -261,7 +261,11 @@ panel_separator_class_init (PanelSeparatorClass *klass) widget_class->size_allocate = panel_separator_size_allocate; widget_class->parent_set = panel_separator_parent_set; - g_type_class_add_private (klass, sizeof (PanelSeparatorPrivate)); +#if GTK_CHECK_VERSION (3, 19, 0) + gtk_widget_class_set_css_name (widget_class, "PanelSeparator"); +#endif + + g_type_class_add_private (klass, sizeof (PanelSeparator)); } static void diff --git a/mate-panel/panel-toplevel.c b/mate-panel/panel-toplevel.c index 44f672af..ec603405 100644 --- a/mate-panel/panel-toplevel.c +++ b/mate-panel/panel-toplevel.c @@ -4500,6 +4500,10 @@ panel_toplevel_class_init (PanelToplevelClass *klass) widget_class->focus_in_event = panel_toplevel_focus_in_event; widget_class->focus_out_event = panel_toplevel_focus_out_event; +#if GTK_CHECK_VERSION (3, 19, 0) + gtk_widget_class_set_css_name (widget_class, "PanelToplevel"); +#endif + container_class->check_resize = panel_toplevel_check_resize; klass->hiding = NULL; |