From 5185103c7acac7f6f291bbd5f7c969c8809237e7 Mon Sep 17 00:00:00 2001 From: Konstantin Pugin Date: Fri, 20 Jun 2014 00:34:43 +0700 Subject: Fix expanded panels and size allocation --- applets/notification_area/na-tray.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'applets') 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); -- cgit v1.2.1