forked from AuroraMiddleware/gtk
Add bindings for Ctrl-Shift-A to unselect all. (#309301, Kathy Fernandes)
2005-09-02 Matthias Clasen <mclasen@redhat.com> * 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)
This commit is contained in:
parent
4083637a11
commit
ade8ec4c4e
@ -1,5 +1,9 @@
|
||||
2005-09-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* 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.
|
||||
|
@ -1,5 +1,9 @@
|
||||
2005-09-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* 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.
|
||||
|
@ -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
|
||||
*/
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user