diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 6 | ||||
-rw-r--r-- | gtk/gtktreeview.c | 23 |
6 files changed, 53 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Thu Dec 18 18:01:01 2003 Kristian Rietveld <kris@gtk.org> + + * gtk/gtktreeview.c (gtk_tree_view_class_init): add key bindings + for "*" and "/" (expand/collapse all). (#110195, reported by + Calum Benson). + Thu Dec 18 17:52:56 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property): diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index a480a0b600..9ed57c5f0d 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Thu Dec 18 18:01:01 2003 Kristian Rietveld <kris@gtk.org> + + * gtk/gtktreeview.c (gtk_tree_view_class_init): add key bindings + for "*" and "/" (expand/collapse all). (#110195, reported by + Calum Benson). + Thu Dec 18 17:52:56 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property): diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index a480a0b600..9ed57c5f0d 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Thu Dec 18 18:01:01 2003 Kristian Rietveld <kris@gtk.org> + + * gtk/gtktreeview.c (gtk_tree_view_class_init): add key bindings + for "*" and "/" (expand/collapse all). (#110195, reported by + Calum Benson). + Thu Dec 18 17:52:56 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property): diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index a480a0b600..9ed57c5f0d 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Thu Dec 18 18:01:01 2003 Kristian Rietveld <kris@gtk.org> + + * gtk/gtktreeview.c (gtk_tree_view_class_init): add key bindings + for "*" and "/" (expand/collapse all). (#110195, reported by + Calum Benson). + Thu Dec 18 17:52:56 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property): diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index a480a0b600..9ed57c5f0d 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Thu Dec 18 18:01:01 2003 Kristian Rietveld <kris@gtk.org> + + * gtk/gtktreeview.c (gtk_tree_view_class_init): add key bindings + for "*" and "/" (expand/collapse all). (#110195, reported by + Calum Benson). + Thu Dec 18 17:52:56 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property): diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 55041acd64..59c3ff9a6a 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -933,6 +933,29 @@ G_PARAM_READABLE)); G_TYPE_BOOLEAN, TRUE, G_TYPE_BOOLEAN, TRUE, G_TYPE_BOOLEAN, FALSE); + + gtk_binding_entry_add_signal (binding_set, GDK_asterisk, 0, + "expand_collapse_cursor_row", 3, + G_TYPE_BOOLEAN, TRUE, + G_TYPE_BOOLEAN, TRUE, + G_TYPE_BOOLEAN, TRUE); + gtk_binding_entry_add_signal (binding_set, GDK_KP_Multiply, 0, + "expand_collapse_cursor_row", 3, + G_TYPE_BOOLEAN, TRUE, + G_TYPE_BOOLEAN, TRUE, + G_TYPE_BOOLEAN, TRUE); + + gtk_binding_entry_add_signal (binding_set, GDK_slash, 0, + "expand_collapse_cursor_row", 3, + G_TYPE_BOOLEAN, TRUE, + G_TYPE_BOOLEAN, FALSE, + G_TYPE_BOOLEAN, FALSE); + gtk_binding_entry_add_signal (binding_set, GDK_KP_Divide, 0, + "expand_collapse_cursor_row", 3, + G_TYPE_BOOLEAN, TRUE, + G_TYPE_BOOLEAN, FALSE, + G_TYPE_BOOLEAN, FALSE); + /* Not doable on US keyboards */ gtk_binding_entry_add_signal (binding_set, GDK_plus, GDK_SHIFT_MASK, "expand_collapse_cursor_row", 3, G_TYPE_BOOLEAN, TRUE, |