summaryrefslogtreecommitdiff
path: root/mate-panel/panel-widget.c
diff options
context:
space:
mode:
authorBalló György <[email protected]>2015-11-20 01:14:25 +0100
committerBalló György <[email protected]>2015-11-20 01:14:25 +0100
commit6f634c680fbc5ee5051253554f2710e39f9ea80a (patch)
tree39e608c46aacfd05dbd7a1a4a7ce7a32eac8681d /mate-panel/panel-widget.c
parent22f1787182a46bc7583be4bb07eb7e0f91c60b65 (diff)
downloadmate-panel-6f634c680fbc5ee5051253554f2710e39f9ea80a.tar.bz2
mate-panel-6f634c680fbc5ee5051253554f2710e39f9ea80a.tar.xz
Don't set the panel transparent by default
This fixes the background for GTK+ 3 themes which don't support mate-panel explicitly. Themes could still overwrite the background if they want in the usual way.
Diffstat (limited to 'mate-panel/panel-widget.c')
-rw-r--r--mate-panel/panel-widget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mate-panel/panel-widget.c b/mate-panel/panel-widget.c
index 30e55f9c..e3752d61 100644
--- a/mate-panel/panel-widget.c
+++ b/mate-panel/panel-widget.c
@@ -1657,6 +1657,7 @@ panel_widget_style_set (GtkWidget *widget, GtkStyle *previous_style)
state = gtk_widget_get_state_flags (widget);
gtk_style_context_add_class(context,"gnome-panel-menu-bar");
gtk_style_context_add_class(context,"mate-panel-menu-bar");
+ panel_background_apply_css (widget, &PANEL_WIDGET (widget)->background);
gtk_style_context_get_background_color (context, state, &bg_color);
gtk_style_context_get (context, state, "background-image", &bg_image, NULL);