summaryrefslogtreecommitdiff
path: root/libmate-panel-applet
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-05-21 18:16:21 +0300
committermonsta <[email protected]>2015-05-21 18:16:21 +0300
commita5c3193c5a02676a8312c04e30735d974ddf1b20 (patch)
tree8901b815c1c6c2c955579eea14609fe892ab3040 /libmate-panel-applet
parentd6b4055b55f31cde39b23d7d2191c3bab14a02e2 (diff)
parentfce585a4d0ce4ffb2ea15a28322b749703fdd04e (diff)
downloadmate-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.c6
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);