mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-08 09:40:10 +00:00
Add the obsolete CUA cut/copy/paste bindings. (#79078)
Thu Jun 13 17:50:36 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtktextview.c gtk/gtkentry.c: Add the obsolete CUA cut/copy/paste bindings. (#79078) * gtk/gtktextview.c gtk/gtkentry.c: Make <Shift>BackSpace a synonym for for Backspace. (#80302, Jeff Waugh)
This commit is contained in:
parent
ba2bd5533e
commit
816769394d
@ -1,3 +1,11 @@
|
||||
Thu Jun 13 17:50:36 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c gtk/gtkentry.c: Add the obsolete
|
||||
CUA cut/copy/paste bindings. (#79078)
|
||||
|
||||
* gtk/gtktextview.c gtk/gtkentry.c: Make <Shift>BackSpace
|
||||
a synonym for for Backspace. (#80302, Jeff Waugh)
|
||||
|
||||
Thu Jun 13 15:02:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdnd-x11.c: Ignore all client events that
|
||||
|
@ -1,3 +1,11 @@
|
||||
Thu Jun 13 17:50:36 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c gtk/gtkentry.c: Add the obsolete
|
||||
CUA cut/copy/paste bindings. (#79078)
|
||||
|
||||
* gtk/gtktextview.c gtk/gtkentry.c: Make <Shift>BackSpace
|
||||
a synonym for for Backspace. (#80302, Jeff Waugh)
|
||||
|
||||
Thu Jun 13 15:02:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdnd-x11.c: Ignore all client events that
|
||||
|
@ -1,3 +1,11 @@
|
||||
Thu Jun 13 17:50:36 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c gtk/gtkentry.c: Add the obsolete
|
||||
CUA cut/copy/paste bindings. (#79078)
|
||||
|
||||
* gtk/gtktextview.c gtk/gtkentry.c: Make <Shift>BackSpace
|
||||
a synonym for for Backspace. (#80302, Jeff Waugh)
|
||||
|
||||
Thu Jun 13 15:02:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdnd-x11.c: Ignore all client events that
|
||||
|
@ -1,3 +1,11 @@
|
||||
Thu Jun 13 17:50:36 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c gtk/gtkentry.c: Add the obsolete
|
||||
CUA cut/copy/paste bindings. (#79078)
|
||||
|
||||
* gtk/gtktextview.c gtk/gtkentry.c: Make <Shift>BackSpace
|
||||
a synonym for for Backspace. (#80302, Jeff Waugh)
|
||||
|
||||
Thu Jun 13 15:02:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdnd-x11.c: Ignore all client events that
|
||||
|
@ -1,3 +1,11 @@
|
||||
Thu Jun 13 17:50:36 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c gtk/gtkentry.c: Add the obsolete
|
||||
CUA cut/copy/paste bindings. (#79078)
|
||||
|
||||
* gtk/gtktextview.c gtk/gtkentry.c: Make <Shift>BackSpace
|
||||
a synonym for for Backspace. (#80302, Jeff Waugh)
|
||||
|
||||
Thu Jun 13 15:02:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdnd-x11.c: Ignore all client events that
|
||||
|
@ -1,3 +1,11 @@
|
||||
Thu Jun 13 17:50:36 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktextview.c gtk/gtkentry.c: Add the obsolete
|
||||
CUA cut/copy/paste bindings. (#79078)
|
||||
|
||||
* gtk/gtktextview.c gtk/gtkentry.c: Make <Shift>BackSpace
|
||||
a synonym for for Backspace. (#80302, Jeff Waugh)
|
||||
|
||||
Thu Jun 13 15:02:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdnd-x11.c: Ignore all client events that
|
||||
|
@ -692,6 +692,12 @@ gtk_entry_class_init (GtkEntryClass *class)
|
||||
GTK_TYPE_ENUM, GTK_DELETE_CHARS,
|
||||
GTK_TYPE_INT, -1);
|
||||
|
||||
/* Make this do the same as Backspace, to help with mis-typing */
|
||||
gtk_binding_entry_add_signal (binding_set, GDK_BackSpace, GDK_SHIFT_MASK,
|
||||
"delete_from_cursor", 2,
|
||||
GTK_TYPE_ENUM, GTK_DELETE_CHARS,
|
||||
GTK_TYPE_INT, -1);
|
||||
|
||||
gtk_binding_entry_add_signal (binding_set, GDK_Delete, GDK_CONTROL_MASK,
|
||||
"delete_from_cursor", 2,
|
||||
GTK_TYPE_ENUM, GTK_DELETE_WORD_ENDS,
|
||||
@ -711,13 +717,18 @@ gtk_entry_class_init (GtkEntryClass *class)
|
||||
|
||||
gtk_binding_entry_add_signal (binding_set, GDK_x, GDK_CONTROL_MASK,
|
||||
"cut_clipboard", 0);
|
||||
|
||||
gtk_binding_entry_add_signal (binding_set, GDK_c, GDK_CONTROL_MASK,
|
||||
"copy_clipboard", 0);
|
||||
|
||||
gtk_binding_entry_add_signal (binding_set, GDK_v, GDK_CONTROL_MASK,
|
||||
"paste_clipboard", 0);
|
||||
|
||||
gtk_binding_entry_add_signal (binding_set, GDK_Delete, GDK_SHIFT_MASK,
|
||||
"cut_clipboard", 0);
|
||||
gtk_binding_entry_add_signal (binding_set, GDK_Insert, GDK_CONTROL_MASK,
|
||||
"copy_clipboard", 0);
|
||||
gtk_binding_entry_add_signal (binding_set, GDK_Insert, GDK_SHIFT_MASK,
|
||||
"paste_clipboard", 0);
|
||||
|
||||
/* Overwrite */
|
||||
gtk_binding_entry_add_signal (binding_set, GDK_Insert, 0,
|
||||
"toggle_overwrite", 0);
|
||||
|
@ -897,6 +897,12 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
|
||||
GTK_TYPE_ENUM, GTK_DELETE_CHARS,
|
||||
GTK_TYPE_INT, -1);
|
||||
|
||||
/* Make this do the same as Backspace, to help with mis-typing */
|
||||
gtk_binding_entry_add_signal (binding_set, GDK_BackSpace, GDK_SHIFT_MASK,
|
||||
"delete_from_cursor", 2,
|
||||
GTK_TYPE_ENUM, GTK_DELETE_CHARS,
|
||||
GTK_TYPE_INT, -1);
|
||||
|
||||
gtk_binding_entry_add_signal (binding_set, GDK_Delete, GDK_CONTROL_MASK,
|
||||
"delete_from_cursor", 2,
|
||||
GTK_TYPE_ENUM, GTK_DELETE_WORD_ENDS,
|
||||
@ -916,13 +922,18 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
|
||||
|
||||
gtk_binding_entry_add_signal (binding_set, GDK_x, GDK_CONTROL_MASK,
|
||||
"cut_clipboard", 0);
|
||||
|
||||
gtk_binding_entry_add_signal (binding_set, GDK_c, GDK_CONTROL_MASK,
|
||||
"copy_clipboard", 0);
|
||||
|
||||
gtk_binding_entry_add_signal (binding_set, GDK_v, GDK_CONTROL_MASK,
|
||||
"paste_clipboard", 0);
|
||||
|
||||
gtk_binding_entry_add_signal (binding_set, GDK_Delete, GDK_SHIFT_MASK,
|
||||
"cut_clipboard", 0);
|
||||
gtk_binding_entry_add_signal (binding_set, GDK_Insert, GDK_CONTROL_MASK,
|
||||
"copy_clipboard", 0);
|
||||
gtk_binding_entry_add_signal (binding_set, GDK_Insert, GDK_SHIFT_MASK,
|
||||
"paste_clipboard", 0);
|
||||
|
||||
/* Overwrite */
|
||||
gtk_binding_entry_add_signal (binding_set, GDK_Insert, 0,
|
||||
"toggle_overwrite", 0);
|
||||
|
Loading…
Reference in New Issue
Block a user