GNOME Bugzilla – Bug 683438
autorunManager: Don't show a right-click menu
Last modified: 2013-05-24 19:04:17 UTC
It clearly makes no sense for a resident source.
Created attachment 223564 [details] [review] messageTray: Split out the building of the right menu to a separate method Besides code cleanliness, this allows us to stub out a right-click menu for resident sources.
Created attachment 223565 [details] [review] autorunManager: Don't show a right-click menu Activating the source shouldn't be possible, and neither should removing it.
Review of attachment 223565 [details] [review]: Ok
Review of attachment 223564 [details] [review]: Yes ::: js/ui/messageTray.js @@ +1066,3 @@ + let item; + let rightClickMenu = new St.BoxLayout({ name: 'summary-right-click-menu', + vertical: true }); At some point we really need to put a PopupMenuBase here, especially if we start using complex menus. I had a patch for a PopupMenuEmbed, back in the days of appindicator. Maybe I can recover it...
Attachment 223564 [details] pushed as 6f5b700 - messageTray: Split out the building of the right menu to a separate method Attachment 223565 [details] pushed as e71129a - autorunManager: Don't show a right-click menu