Re: popup menu not grabbing focus problems
- From: Florian Müllner <fmuellner gnome org>
- To: Yaa101 <yaa101 xs4all nl>
- Cc: gnome-shell-list gnome org
- Subject: Re: popup menu not grabbing focus problems
- Date: Wed, 20 Jun 2012 23:21:27 +0200
On Wed, Jun 20, 2012 at 11:09 PM, Yaa101 <yaa101 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]