From fce585a4d0ce4ffb2ea15a28322b749703fdd04e Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 21 May 2015 16:26:39 +0200 Subject: GTK3: fix typo in gtk_style_context mate-custom-panel-background --- libmate-panel-applet/mate-panel-applet.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libmate-panel-applet/mate-panel-applet.c') 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); -- cgit v1.2.1