diff options
author | Balló György <[email protected]> | 2015-11-20 01:14:25 +0100 |
---|---|---|
committer | Balló György <[email protected]> | 2015-11-20 01:14:25 +0100 |
commit | 6f634c680fbc5ee5051253554f2710e39f9ea80a (patch) | |
tree | 39e608c46aacfd05dbd7a1a4a7ce7a32eac8681d /mate-panel/mate-panel-applet-frame.c | |
parent | 22f1787182a46bc7583be4bb07eb7e0f91c60b65 (diff) | |
download | mate-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/mate-panel-applet-frame.c')
-rw-r--r-- | mate-panel/mate-panel-applet-frame.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mate-panel/mate-panel-applet-frame.c b/mate-panel/mate-panel-applet-frame.c index ac4205f5..dda1290e 100644 --- a/mate-panel/mate-panel-applet-frame.c +++ b/mate-panel/mate-panel-applet-frame.c @@ -640,15 +640,17 @@ mate_panel_applet_frame_change_background (MatePanelAppletFrame *frame, g_return_if_fail (PANEL_IS_WIDGET (parent)); -#if !GTK_CHECK_VERSION (3, 0, 0) if (frame->priv->has_handle) { PanelBackground *background; background = &PANEL_WIDGET (parent)->background; +#if GTK_CHECK_VERSION (3, 0, 0) + panel_background_apply_css (GTK_WIDGET (frame), background); +#else panel_background_change_background_on_widget (background, GTK_WIDGET (frame)); - } #endif + } MATE_PANEL_APPLET_FRAME_GET_CLASS (frame)->change_background (frame, type); } |