summaryrefslogtreecommitdiff
path: root/mate-panel/panel-menu-bar.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-menu-bar.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-menu-bar.c')
-rw-r--r--mate-panel/panel-menu-bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-panel/panel-menu-bar.c b/mate-panel/panel-menu-bar.c
index f6ae7682..99381bf2 100644
--- a/mate-panel/panel-menu-bar.c
+++ b/mate-panel/panel-menu-bar.c
@@ -479,7 +479,7 @@ void panel_menu_bar_popup_menu(PanelMenuBar* menubar, guint32 activate_time)
void panel_menu_bar_change_background(PanelMenuBar* menubar)
{
#if GTK_CHECK_VERSION (3, 0, 0)
- panel_background_apply_css(GTK_WIDGET(menubar));
+ panel_background_apply_css(GTK_WIDGET(menubar), &menubar->priv->panel->background);
#else
panel_background_change_background_on_widget(&menubar->priv->panel->background, GTK_WIDGET(menubar));
#endif