amites / autokey

Automatically exported from code.google.com/p/autokey
GNU General Public License v3.0
0 stars 0 forks source link

Add cut topy paste keybindings #206

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, is this where I should submit patches? Is this how I should do this?

What about cut/paste/copy keybindings?

Index: gtkui/configwindow.py
===================================================================
--- gtkui/configwindow.py   (revision 556)
+++ gtkui/configwindow.py   (working copy)
@@ -749,9 +749,9 @@
                 ("close-window", Gtk.STOCK_CLOSE, _("_Close window"), None, _("Close the configuration window"), self.on_close),
                 ("quit", Gtk.STOCK_QUIT, _("_Quit"), None, _("Completely exit AutoKey"), self.on_quit),
                 ("Edit", None, _("_Edit")),
-                ("cut-item", Gtk.STOCK_CUT, _("Cu_t Item"), "", _("Cut the 
selected item"), self.on_cut_item),
-                ("copy-item", Gtk.STOCK_COPY, _("_Copy Item"), "", _("Copy the 
selected item"), self.on_copy_item),
-                ("paste-item", Gtk.STOCK_PASTE, _("_Paste Item"), "", _("Paste 
the last cut/copied item"), self.on_paste_item),
+                ("cut-item", Gtk.STOCK_CUT, _("Cu_t Item"), "<control>x", 
_("Cut the selected item"), self.on_cut_item),
+                ("copy-item", Gtk.STOCK_COPY, _("_Copy Item"), "<control>c", 
_("Copy the selected item"), self.on_copy_item),
+                ("paste-item", Gtk.STOCK_PASTE, _("_Paste Item"), 
"<control>v", _("Paste the last cut/copied item"), self.on_paste_item),
                 ("clone-item", Gtk.STOCK_COPY, _("C_lone Item"), "<control><shift>c", _("Clone the selected item"), self.on_clone_item),
                 ("delete-item", Gtk.STOCK_DELETE, _("_Delete Item"), "<control>d", _("Delete the selected item"), self.on_delete_item),
                 ("rename", None, _("_Rename"), "F2", _("Rename the selected item"), self.on_rename),

Original issue reported on code.google.com by ciro.san...@gmail.com on 10 Jun 2012 at 6:37

Attachments: