diff options
author | monsta <[email protected]> | 2015-05-21 18:16:21 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2015-05-21 18:16:21 +0300 |
commit | a5c3193c5a02676a8312c04e30735d974ddf1b20 (patch) | |
tree | 8901b815c1c6c2c955579eea14609fe892ab3040 /libmate-panel-applet | |
parent | d6b4055b55f31cde39b23d7d2191c3bab14a02e2 (diff) | |
parent | fce585a4d0ce4ffb2ea15a28322b749703fdd04e (diff) | |
download | mate-panel-a5c3193c5a02676a8312c04e30735d974ddf1b20.tar.bz2 mate-panel-a5c3193c5a02676a8312c04e30735d974ddf1b20.tar.xz |
Merge pull request #304 from NiceandGently/master
GTK3: fix typo in gtk_style_context mate-custom-panel-background
Diffstat (limited to 'libmate-panel-applet')
-rw-r--r-- | libmate-panel-applet/mate-panel-applet.c | 6 |
1 files changed, 3 insertions, 3 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); |