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
|
@ -1,3 +1,9 @@
|
||||||
|
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)
|
||||||
|
|
||||||
2007-02-02 Jens Granseuer <jensgr@gmx.net>
|
2007-02-02 Jens Granseuer <jensgr@gmx.net>
|
||||||
|
|
||||||
* gnome-keybinding-properties.c: (accel_edited_callback): blacklist
|
* gnome-keybinding-properties.c: (accel_edited_callback): blacklist
|
||||||
|
|
|
@ -636,6 +636,9 @@ accel_edited_callback (GtkCellRendererText *cell,
|
||||||
if (key_entry == NULL)
|
if (key_entry == NULL)
|
||||||
return;
|
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);
|
model = get_real_model (view);
|
||||||
tmp_key.model = model;
|
tmp_key.model = model;
|
||||||
tmp_key.keyval = keyval;
|
tmp_key.keyval = keyval;
|
||||||
|
|
Loading…
Add table
Reference in a new issue