diff --git a/ChangeLog b/ChangeLog index e1c8129714..8616383f0e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2005-09-02 Matthias Clasen + * gtk/gtkentry.c (gtk_entry_class_init): + * gtk/gtktextview.c (gtk_text_view_class_init): Add bindings + for Ctrl-Shift-A to unselect all. (#309301, Kathy Fernandes) + * gtk/gtkimcontextsimple.c: Rework the Unicode hex input code. Now we only steal a single key combination, Ctrl-Shift-U, instead of sixteen. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index e1c8129714..8616383f0e 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,9 @@ 2005-09-02 Matthias Clasen + * gtk/gtkentry.c (gtk_entry_class_init): + * gtk/gtktextview.c (gtk_text_view_class_init): Add bindings + for Ctrl-Shift-A to unselect all. (#309301, Kathy Fernandes) + * gtk/gtkimcontextsimple.c: Rework the Unicode hex input code. Now we only steal a single key combination, Ctrl-Shift-U, instead of sixteen. diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index 5520e52448..5bf530ddea 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -782,6 +782,11 @@ gtk_entry_class_init (GtkEntryClass *class) GTK_TYPE_MOVEMENT_STEP, GTK_MOVEMENT_VISUAL_POSITIONS, G_TYPE_INT, 0, G_TYPE_BOOLEAN, FALSE); + gtk_binding_entry_add_signal (binding_set, GDK_a, GDK_SHIFT_MASK | GDK_CONTROL_MASK, + "move_cursor", 3, + GTK_TYPE_MOVEMENT_STEP, GTK_MOVEMENT_VISUAL_POSITIONS, + G_TYPE_INT, 0, + G_TYPE_BOOLEAN, FALSE); /* Activate */ diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index d8c4376468..82f534d99d 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -966,6 +966,10 @@ gtk_text_view_class_init (GtkTextViewClass *klass) "select_all", 1, G_TYPE_BOOLEAN, FALSE); + gtk_binding_entry_add_signal (binding_set, GDK_a, GDK_SHIFT_MASK | GDK_CONTROL_MASK, + "select_all", 1, + G_TYPE_BOOLEAN, FALSE); + /* Deleting text */ gtk_binding_entry_add_signal (binding_set, GDK_Delete, 0, "delete_from_cursor", 2,