[maemo-developers] Issue with GtkUIManager on OS2008?

From: Tommi Komulainen tommi.komulainen at nokia.com
Date: Wed Nov 14 12:28:09 EET 2007
On Wed, 2007-11-14 at 01:18 -0800, ext Mike Morrison wrote:
> In my program I use GtkUIManager to create and manage keyboard
> accelerators for the hardware keys. This works fine on OS 2007 but I
> have a sneaking suspicion it does not work in OS2008.

You're right, it won't work. Even on n810.

The reason is that keyboard shortcuts are disabled when there's no
keyboard available; there's no point in wasting space by displaying the
shortcuts when you don't have a keyboard to actually use them. See
http://bugzilla.gnome.org/show_bug.cgi?id=72375

We pretty much overlooked the keys on the outside, sorry :-(


You can always use the "key-press-event" signal on toplevel window for
handling the special hardware keys.


(You can toggle the keyboard shortcuts with /apps/osso/gtk/enable-accels
and /apps/osso/gtk/enable-mnemonics GConf keys though be aware that
input methods will overwrite the values when the availability of
hardware keyboard changes.)


-- 
Tommi Komulainen                            <tommi.komulainen at nokia.com>

More information about the maemo-developers mailing list