diff options
author | lukefromdc <[email protected]> | 2017-10-12 21:39:04 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-11-07 21:38:11 +0100 |
commit | 8b004f3ade0f2976bc52e8dc3f7f464f0614ad0e (patch) | |
tree | da720a6ff611f8a3c94ac87e02dab901871d0dd8 /applets | |
parent | 418679a91ff711170754ce4d6ed9105e3ae6449b (diff) | |
download | mate-panel-8b004f3ade0f2976bc52e8dc3f7f464f0614ad0e.tar.bz2 mate-panel-8b004f3ade0f2976bc52e8dc3f7f464f0614ad0e.tar.xz |
GTK 3.22/status-notifer Fix menu position if size changed since last shown
Mostly fixes serious mispositioning of network-manager applet (indicator mode) menus when connections were changed on last showing of menu and applet is on bottom panel and especially bottom right
Diffstat (limited to 'applets')
-rw-r--r-- | applets/notification_area/status-notifier/sn-item.c | 2 |
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, |