summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--applets/notification_area/status-notifier/sn-item.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/applets/notification_area/status-notifier/sn-item.c b/applets/notification_area/status-notifier/sn-item.c
index 654bb291..728e739d 100644
--- a/applets/notification_area/status-notifier/sn-item.c
+++ b/applets/notification_area/status-notifier/sn-item.c
@@ -260,6 +260,8 @@ sn_item_button_press_event (GtkWidget *widget,
GDK_GRAVITY_SOUTH_WEST,
GDK_GRAVITY_NORTH_WEST,
(GdkEvent *) event);
+ /*Fix positioning if size changed since last shown*/
+ gtk_menu_reposition(priv->menu);
#else
gtk_menu_popup (priv->menu, NULL, NULL,
sn_item_popup_menu_position_func, widget,