diff options
-rw-r--r-- | libmate-panel-applet/mate-panel-applet.c | 6 | ||||
-rw-r--r-- | mate-panel/panel-background.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c index 3dbe6c52..94debf09 100644 --- a/libmate-panel-applet/mate-panel-applet.c +++ b/libmate-panel-applet/mate-panel-applet.c @@ -2051,18 +2051,18 @@ void _mate_panel_applet_apply_css(GtkWidget* widget, MatePanelAppletBackgroundTy switch (type) { case PANEL_NO_BACKGROUND: - gtk_style_context_remove_class(context,"-mate-custom-panel-background"); + gtk_style_context_remove_class(context,"mate-custom-panel-background"); break; case PANEL_COLOR_BACKGROUND: case PANEL_PIXMAP_BACKGROUND: provider = gtk_css_provider_new (); gtk_css_provider_load_from_data (provider, - ".-mate-custom-panel-background{\n" + ".mate-custom-panel-background{\n" " background-color: rgba (0, 0, 0, 0);\n" " background-image: none;\n" "}", -1, NULL); - gtk_style_context_add_class (context, "-mate-custom-panel-background"); + gtk_style_context_add_class (context, "mate-custom-panel-background"); gtk_style_context_add_provider (context, GTK_STYLE_PROVIDER (provider), GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); diff --git a/mate-panel/panel-background.c b/mate-panel/panel-background.c index d7b61f64..9beb000f 100644 --- a/mate-panel/panel-background.c +++ b/mate-panel/panel-background.c @@ -106,12 +106,12 @@ void panel_background_apply_css (GtkWidget* widget) gtk_widget_reset_style(widget); provider = gtk_css_provider_new (); gtk_css_provider_load_from_data (provider, - ".-mate-custom-panel-background{\n" + ".mate-custom-panel-background{\n" " background-color: rgba (0, 0, 0, 0);\n" " background-image: none;\n" "}", -1, NULL); - gtk_style_context_add_class (context, "-mate-custom-panel-background"); + gtk_style_context_add_class (context, "mate-custom-panel-background"); gtk_style_context_add_provider (context, GTK_STYLE_PROVIDER (provider), GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); |