forked from AuroraMiddleware/gtk
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:
parent
708e1a9574
commit
196c1f5a02
@ -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>
|
||||
|
||||
* gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;
|
||||
|
@ -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>
|
||||
|
||||
* gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;
|
||||
|
@ -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>
|
||||
|
||||
* gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;
|
||||
|
@ -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>
|
||||
|
||||
* gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;
|
||||
|
@ -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>
|
||||
|
||||
* gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;
|
||||
|
@ -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>
|
||||
|
||||
* gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;
|
||||
|
@ -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>
|
||||
|
||||
* gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;
|
||||
|
@ -482,35 +482,19 @@ gtk_ctree_class_init (GtkCTreeClass *klass)
|
||||
GTK_TYPE_NONE, 1, GTK_TYPE_CTREE_EXPANSION_TYPE);
|
||||
|
||||
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,
|
||||
GDK_plus, 0,
|
||||
"change_focus_row_expansion", 1,
|
||||
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,
|
||||
GDK_plus, GDK_CONTROL_MASK,
|
||||
"change_focus_row_expansion", 1,
|
||||
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,
|
||||
GDK_KP_Add, 0,
|
||||
"change_focus_row_expansion", 1,
|
||||
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,
|
||||
GDK_KP_Add, GDK_CONTROL_MASK,
|
||||
"change_focus_row_expansion", 1,
|
||||
@ -542,14 +526,6 @@ gtk_ctree_class_init (GtkCTreeClass *klass)
|
||||
GDK_KP_Equal, 0,
|
||||
"change_focus_row_expansion", 1,
|
||||
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,
|
||||
GDK_KP_Multiply, 0,
|
||||
"change_focus_row_expansion", 1,
|
||||
|
Loading…
Reference in New Issue
Block a user