filter out CapsLock modifiers since it's otherwise possible to set the
2007-02-03 Jens Granseuer <jensgr@gmx.net> * gnome-keybinding-properties.c: (accel_edited_callback): filter out CapsLock modifiers since it's otherwise possible to set the same accel for several actions (fixes #350424) svn path=/trunk/; revision=7232
This commit is contained in:
parent
1f8280c0a7
commit
09076c4e27
2 changed files with 9 additions and 0 deletions
|
@ -636,6 +636,9 @@ accel_edited_callback (GtkCellRendererText *cell,
|
|||
if (key_entry == NULL)
|
||||
return;
|
||||
|
||||
/* CapsLock isn't supported as a keybinding modifier, so keep it from confusing us */
|
||||
mask &= ~EGG_VIRTUAL_LOCK_MASK;
|
||||
|
||||
model = get_real_model (view);
|
||||
tmp_key.model = model;
|
||||
tmp_key.keyval = keyval;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue