patches/gtk3+-04-sun-copy-paste-keybindings.diff
author yippi
Mon, 27 Sep 2010 21:07:51 +0000
changeset 20108 51df67ca9307
parent 18292 9ff9c0fa64d9
permissions -rw-r--r--
I had these modules listed as being owned by me, but they are really owned by wangke, correcting.

--- gtk+-2.4.1/gtk/gtkrc.default	2004-08-11 17:29:45.000000000 +0530
+++ gtk+-2.4.1-new/gtk/gtkrc.default	2004-08-11 17:29:10.000000000 +0530
@@ -1,3 +1,4 @@
 #
 # This theme is the default theme if no other theme is selected.
 #
+include "../../Default/gtk-2.0-key/gtkrc"
--- gtk+-2.4.1/gtk/gtkrc.key.default	2004-08-11 17:30:05.000000000 +0530
+++ gtk+-2.4.1-new/gtk/gtkrc.key.default	2004-08-11 17:32:11.000000000 +0530
@@ -1,3 +1,23 @@
 #
-# Default keybinding set. Empty because it is implemented inline in the code.
+# Copy, Paste, Cut keybindings for SUN keyboard.
 #
+
+binding "sun-text-entry"
+{
+  bind "F20" { "cut-clipboard" () }
+  bind "F18" { "paste-clipboard" () }
+  bind "F16" { "copy-clipboard" () }
+}
+
+#
+# Bindings for GtkTreeView
+#
+binding "sun-tree-view"
+{
+  bind "F19" { "start-interactive-search" () }
+}
+
+class "GtkEntry" binding "sun-text-entry"
+class "GtkTextView" binding "sun-text-entry"
+class "GtkTreeView" binding "sun-tree-view"
+