summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-07-01 14:23:29 +0300
committerMonsta <[email protected]>2015-07-01 14:23:29 +0300
commit5d5ba35a217735e272b406abfbffd07e64ded435 (patch)
tree90604f60d9d096ec7cf310270236d7e0fc1aee16
parentdd0c9ee91279e3f59276c136808fdf7bd094d981 (diff)
downloadmate-panel-5d5ba35a217735e272b406abfbffd07e64ded435.tar.bz2
mate-panel-5d5ba35a217735e272b406abfbffd07e64ded435.tar.xz
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));