GNOME Bugzilla – Bug 689954
Fix some issues I found with the PopupMenuManager/GrabHelper port
Last modified: 2012-12-10 19:39:02 UTC
There were bound to be some...
Created attachment 231116 [details] [review] panel: Remove a dead check With the dummy menu item now in place, we will always have a menu.
Created attachment 231118 [details] [review] popupMenu: Complete the dummy fake menu "toggle" is used when clicking on the source actor. As we don't actually have a menu, we don't want to actually take any grabs through the menu system, so make it a no-op rather than have it toggle the menu state.
Created attachment 231119 [details] [review] popupMenu: Display the proper animations for popup menus BoxPointer's API changed to take a BoxPointer.PopupAnimation enumeration value, but the code was accidentally replaced with older code when porting the PopupMenuManager code to GrabHelper.
Created attachment 231120 [details] [review] popupMenu: Don't slide menus when we're changing them As calling close() will drop the grab, we were inadverdently re-closing menus, causing them to re-animate with a full animation.
Review of attachment 231118 [details] [review]: Ok
Review of attachment 231116 [details] [review]: ++
Review of attachment 231119 [details] [review]: Yep
Review of attachment 231120 [details] [review]: Makes sense
Attachment 231116 [details] pushed as 04bf75d - panel: Remove a dead check Attachment 231118 [details] pushed as 13a2b28 - popupMenu: Complete the dummy fake menu Attachment 231119 [details] pushed as ca2ee22 - popupMenu: Display the proper animations for popup menus Attachment 231120 [details] pushed as b42af9a - popupMenu: Don't slide menus when we're changing them