diff options
Diffstat (limited to 'applets/notification_area/status-notifier/sn-item.c')
-rw-r--r-- | applets/notification_area/status-notifier/sn-item.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/applets/notification_area/status-notifier/sn-item.c b/applets/notification_area/status-notifier/sn-item.c index 3bba668a..e305fdad 100644 --- a/applets/notification_area/status-notifier/sn-item.c +++ b/applets/notification_area/status-notifier/sn-item.c @@ -277,6 +277,8 @@ sn_item_button_press_event (GtkWidget *widget, gtk_menu_popup (priv->menu, NULL, NULL, sn_item_popup_menu_position_func, widget, event->button, event->time); + /*Fix positioning if size changed since last shown*/ + gtk_menu_reposition(priv->menu); #endif } else @@ -329,6 +331,8 @@ sn_item_popup_menu (GtkWidget *widget) gtk_menu_popup (priv->menu, NULL, NULL, sn_item_popup_menu_position_func, widget, button, active_time); + /*Fix positioning if size changed since last shown*/ + gtk_menu_reposition(priv->menu); #endif } else |