gcmd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gcmd-dev] GnomeCmdFileSelector breaks user-defined keybindings for keyc


From: Manuel Bua
Subject: [gcmd-dev] GnomeCmdFileSelector breaks user-defined keybindings for keycodes such as GDK_KP_xxx and GDP_Page_xxx
Date: Thu, 23 Jun 2011 11:27:55 +0200

While trying to bind CTRL+Page_down for moving to the next tab i noticed the
key wasn't getting processed, it worked fine with CTRL+Page_up instead.
So looking at the code, it seems we are using some "sensitive" keys that
could *potentially* be bound to other user-defined shortcuts: processing key
there imply the keyboard event to not bubble up anymore.
The attached patch fix *only* the Page_down problem by removing it from the
switch: i'm still new to the codebase and i don't want to break any previous
behavior, but i would check for these keycodes if they are already bound to
any shortcut and if it's the case, just drop out of the "key_pressed"
handler.

-- 
Manuel

Attachment: 0001-Do-not-overwrite-potentially-user-customized-keybind.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]