diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-03-22 17:35:14 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-03-22 17:35:14 +0000 |
commit | 7425e428470e093e48b5039daf32c5c122a914db (patch) | |
tree | 9d987173bb77f3a60f10f6d789b71efbcf337d40 /ChangeLog.pre-2-6 | |
parent | abfed60cab0d6f9440430d05926b1e1e3d5b9cc9 (diff) | |
download | gdk-pixbuf-7425e428470e093e48b5039daf32c5c122a914db.tar.gz |
Partial fix for problem where keypad keys acted as shift-arrows in an
Fri Mar 22 11:29:11 2002 Owen Taylor <otaylor@redhat.com>
Partial fix for problem where keypad keys acted
as shift-arrows in an entry rather than arrows (#74327)
* gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Sort lookup
results by number of modifiers in the entry. Fixes
problem where if a key matched both modified and unmodified
key bindings ... e.g., the distinguishing key binding
was consumed, then it was random which was used.
* gtk/gtkbindings.c (gtk_binding_entries_sort_patterns):
Catch the case where there are multiple entries from the
same bindingset (with different modifiers), and use only
the first entry, which, with the change in _gtk_key_hash_lookup()
Diffstat (limited to 'ChangeLog.pre-2-6')
-rw-r--r-- | ChangeLog.pre-2-6 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 305370818..62ffc23f1 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,20 @@ +Fri Mar 22 11:29:11 2002 Owen Taylor <otaylor@redhat.com> + + Partial fix for problem where keypad keys acted + as shift-arrows in an entry rather than arrows (#74327) + + * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Sort lookup + results by number of modifiers in the entry. Fixes + problem where if a key matched both modified and unmodified + key bindings ... e.g., the distinguishing key binding + was consumed, then it was random which was used. + + * gtk/gtkbindings.c (gtk_binding_entries_sort_patterns): + Catch the case where there are multiple entries from the + same bindingset (with different modifiers), and use only + the first entry, which, with the change in _gtk_key_hash_lookup() + will be the preferred value. + Fri Mar 22 10:56:19 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkaccelmap.c (gtk_accel_map_save_fd): Fix memory |