You shouldn't have to do that, right? PopupMenuManager should take care of that for you. You might not be adding your popup menu to a manager.
On Wed, Jun 20, 2012 at 5:21 PM, Florian Müllner <fmuell...@gnome.org> wrote: > On Wed, Jun 20, 2012 at 11:09 PM, Yaa101 <yaa...@xs4all.nl> wrote: >> I am writing an extension that is a variation to both quicklaunch >> extensions, mine is a buttonbar that collects the XDG category of >> a .desktop file and defines a button for each found Main XDG category, >> when clicked on the button a popup menu becomes visible with all >> the .desktop files that carry the category. >> >> This is where things go rough on me, [...] clicking the button >> brings up the menu but the menu does not want to grab the focus and >> sits there, when clicking on the menu, anything that is under it will >> be activated but not the items on the menu. > > I'm not entirely sure what you are trying to do, but it sounds like > you are missing a call to > > global.set_stage_input_mode (Shell.StageInputMode.FOCUSED) > > > Regards, > Florian > _______________________________________________ > gnome-shell-list mailing list > gnome-shell-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gnome-shell-list -- Jasper _______________________________________________ gnome-shell-list mailing list gnome-shell-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-shell-list