diff options
author | Konstantin Pugin <[email protected]> | 2014-06-20 00:34:43 +0700 |
---|---|---|
committer | Konstantin Pugin <[email protected]> | 2014-06-20 01:18:57 +0700 |
commit | 5185103c7acac7f6f291bbd5f7c969c8809237e7 (patch) | |
tree | 0470d3e8d2348b32b7d601435fe2cb90515be080 /applets/notification_area | |
parent | e964b756355ad5e66a0166d9ca218bdde2054f6d (diff) | |
download | mate-panel-5185103c7acac7f6f291bbd5f7c969c8809237e7.tar.bz2 mate-panel-5185103c7acac7f6f291bbd5f7c969c8809237e7.tar.xz |
Fix expanded panels and size allocation
Diffstat (limited to 'applets/notification_area')
-rw-r--r-- | applets/notification_area/na-tray.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/applets/notification_area/na-tray.c b/applets/notification_area/na-tray.c index 83f502e1..d2bcad3b 100644 --- a/applets/notification_area/na-tray.c +++ b/applets/notification_area/na-tray.c @@ -247,13 +247,17 @@ tray_removed (NaTrayManager *manager, TraysScreen *trays_screen) { NaTray *tray; + NaTrayPrivate *priv; tray = g_hash_table_lookup (trays_screen->icon_table, icon); if (tray == NULL) return; + priv = tray->priv; g_assert (tray->priv->trays_screen == trays_screen); + gtk_container_remove (GTK_CONTAINER (priv->box), icon); + g_hash_table_remove (trays_screen->icon_table, icon); /* this will also destroy the tip associated to this icon */ g_hash_table_remove (trays_screen->tip_table, icon); |