summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wimpress <[email protected]>2015-07-01 20:47:52 +0100
committerMartin Wimpress <[email protected]>2015-07-01 20:47:52 +0100
commite97d400d5b02970a3e5ef9416d2c0c4c7209ba80 (patch)
tree90604f60d9d096ec7cf310270236d7e0fc1aee16
parentdd0c9ee91279e3f59276c136808fdf7bd094d981 (diff)
parent5d5ba35a217735e272b406abfbffd07e64ded435 (diff)
downloadmate-panel-e97d400d5b02970a3e5ef9416d2c0c4c7209ba80.tar.bz2
mate-panel-e97d400d5b02970a3e5ef9416d2c0c4c7209ba80.tar.xz
Merge pull request #319 from mate-desktop/drawer-fix
drawer: now opens fine after adding any applets and restarting session
-rw-r--r--mate-panel/panel-toplevel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mate-panel/panel-toplevel.c b/mate-panel/panel-toplevel.c
index 2deeb75d..6547f13d 100644
--- a/mate-panel/panel-toplevel.c
+++ b/mate-panel/panel-toplevel.c
@@ -3794,6 +3794,9 @@ panel_toplevel_start_animation (PanelToplevel *toplevel)
if (toplevel->priv->attached) {
/* Re-map unmapped attached toplevels */
+ if (!gtk_widget_get_visible (GTK_WIDGET (toplevel)))
+ gtk_widget_set_visible (GTK_WIDGET (toplevel), TRUE);
+
if (!gtk_widget_get_mapped (GTK_WIDGET (toplevel)))
gtk_widget_map (GTK_WIDGET (toplevel));