Remove some workarounds for +/= and shift key handling.

Thu Feb 21 12:24:22 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkctree.c (gtk_ctree_class_init): Remove some workarounds
        for +/= and shift key handling.
This commit is contained in:
Owen Taylor 2002-02-21 17:29:01 +00:00 committed by Owen Taylor
parent 708e1a9574
commit 196c1f5a02
8 changed files with 35 additions and 24 deletions

View File

@ -1,3 +1,8 @@
Thu Feb 21 12:24:22 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkctree.c (gtk_ctree_class_init): Remove some workarounds
for +/= and shift key handling.
Wed Feb 20 14:26:47 2002 Owen Taylor <otaylor@redhat.com> Wed Feb 20 14:26:47 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups; * gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;

View File

@ -1,3 +1,8 @@
Thu Feb 21 12:24:22 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkctree.c (gtk_ctree_class_init): Remove some workarounds
for +/= and shift key handling.
Wed Feb 20 14:26:47 2002 Owen Taylor <otaylor@redhat.com> Wed Feb 20 14:26:47 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups; * gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;

View File

@ -1,3 +1,8 @@
Thu Feb 21 12:24:22 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkctree.c (gtk_ctree_class_init): Remove some workarounds
for +/= and shift key handling.
Wed Feb 20 14:26:47 2002 Owen Taylor <otaylor@redhat.com> Wed Feb 20 14:26:47 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups; * gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;

View File

@ -1,3 +1,8 @@
Thu Feb 21 12:24:22 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkctree.c (gtk_ctree_class_init): Remove some workarounds
for +/= and shift key handling.
Wed Feb 20 14:26:47 2002 Owen Taylor <otaylor@redhat.com> Wed Feb 20 14:26:47 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups; * gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;

View File

@ -1,3 +1,8 @@
Thu Feb 21 12:24:22 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkctree.c (gtk_ctree_class_init): Remove some workarounds
for +/= and shift key handling.
Wed Feb 20 14:26:47 2002 Owen Taylor <otaylor@redhat.com> Wed Feb 20 14:26:47 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups; * gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;

View File

@ -1,3 +1,8 @@
Thu Feb 21 12:24:22 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkctree.c (gtk_ctree_class_init): Remove some workarounds
for +/= and shift key handling.
Wed Feb 20 14:26:47 2002 Owen Taylor <otaylor@redhat.com> Wed Feb 20 14:26:47 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups; * gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;

View File

@ -1,3 +1,8 @@
Thu Feb 21 12:24:22 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkctree.c (gtk_ctree_class_init): Remove some workarounds
for +/= and shift key handling.
Wed Feb 20 14:26:47 2002 Owen Taylor <otaylor@redhat.com> Wed Feb 20 14:26:47 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups; * gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;

View File

@ -482,35 +482,19 @@ gtk_ctree_class_init (GtkCTreeClass *klass)
GTK_TYPE_NONE, 1, GTK_TYPE_CTREE_EXPANSION_TYPE); GTK_TYPE_NONE, 1, GTK_TYPE_CTREE_EXPANSION_TYPE);
binding_set = gtk_binding_set_by_class (klass); binding_set = gtk_binding_set_by_class (klass);
gtk_binding_entry_add_signal (binding_set,
GDK_plus, GDK_SHIFT_MASK,
"change_focus_row_expansion", 1,
GTK_TYPE_ENUM, GTK_CTREE_EXPANSION_EXPAND);
gtk_binding_entry_add_signal (binding_set, gtk_binding_entry_add_signal (binding_set,
GDK_plus, 0, GDK_plus, 0,
"change_focus_row_expansion", 1, "change_focus_row_expansion", 1,
GTK_TYPE_ENUM, GTK_CTREE_EXPANSION_EXPAND); GTK_TYPE_ENUM, GTK_CTREE_EXPANSION_EXPAND);
gtk_binding_entry_add_signal (binding_set,
GDK_plus, GDK_CONTROL_MASK | GDK_SHIFT_MASK,
"change_focus_row_expansion", 1,
GTK_TYPE_ENUM, GTK_CTREE_EXPANSION_EXPAND_RECURSIVE);
gtk_binding_entry_add_signal (binding_set, gtk_binding_entry_add_signal (binding_set,
GDK_plus, GDK_CONTROL_MASK, GDK_plus, GDK_CONTROL_MASK,
"change_focus_row_expansion", 1, "change_focus_row_expansion", 1,
GTK_TYPE_ENUM, GTK_CTREE_EXPANSION_EXPAND_RECURSIVE); GTK_TYPE_ENUM, GTK_CTREE_EXPANSION_EXPAND_RECURSIVE);
gtk_binding_entry_add_signal (binding_set,
GDK_KP_Add, GDK_SHIFT_MASK,
"change_focus_row_expansion", 1,
GTK_TYPE_ENUM, GTK_CTREE_EXPANSION_EXPAND);
gtk_binding_entry_add_signal (binding_set, gtk_binding_entry_add_signal (binding_set,
GDK_KP_Add, 0, GDK_KP_Add, 0,
"change_focus_row_expansion", 1, "change_focus_row_expansion", 1,
GTK_TYPE_ENUM, GTK_CTREE_EXPANSION_EXPAND); GTK_TYPE_ENUM, GTK_CTREE_EXPANSION_EXPAND);
gtk_binding_entry_add_signal (binding_set,
GDK_KP_Add, GDK_CONTROL_MASK | GDK_SHIFT_MASK,
"change_focus_row_expansion", 1,
GTK_TYPE_ENUM, GTK_CTREE_EXPANSION_EXPAND_RECURSIVE);
gtk_binding_entry_add_signal (binding_set, gtk_binding_entry_add_signal (binding_set,
GDK_KP_Add, GDK_CONTROL_MASK, GDK_KP_Add, GDK_CONTROL_MASK,
"change_focus_row_expansion", 1, "change_focus_row_expansion", 1,
@ -542,14 +526,6 @@ gtk_ctree_class_init (GtkCTreeClass *klass)
GDK_KP_Equal, 0, GDK_KP_Equal, 0,
"change_focus_row_expansion", 1, "change_focus_row_expansion", 1,
GTK_TYPE_ENUM, GTK_CTREE_EXPANSION_TOGGLE); GTK_TYPE_ENUM, GTK_CTREE_EXPANSION_TOGGLE);
gtk_binding_entry_add_signal (binding_set,
GDK_equal, GDK_SHIFT_MASK,
"change_focus_row_expansion", 1,
GTK_TYPE_ENUM, GTK_CTREE_EXPANSION_TOGGLE);
gtk_binding_entry_add_signal (binding_set,
GDK_KP_Equal, GDK_SHIFT_MASK,
"change_focus_row_expansion", 1,
GTK_TYPE_ENUM, GTK_CTREE_EXPANSION_TOGGLE);
gtk_binding_entry_add_signal (binding_set, gtk_binding_entry_add_signal (binding_set,
GDK_KP_Multiply, 0, GDK_KP_Multiply, 0,
"change_focus_row_expansion", 1, "change_focus_row_expansion", 1,