[meld] Add shortcuts to DirDiff for Copy & Delete actions (closes bgo#331523)



commit cfc6f4f7c1d40ed85f026b813037eca5e3f1ded9
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sat Jan 15 11:06:35 2011 +1000

    Add shortcuts to DirDiff for Copy & Delete actions (closes bgo#331523)

 meld/dirdiff.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/meld/dirdiff.py b/meld/dirdiff.py
index 8e4b914..57296cd 100644
--- a/meld/dirdiff.py
+++ b/meld/dirdiff.py
@@ -140,9 +140,9 @@ class DirDiff(melddoc.MeldDoc, gnomeglade.Component):
 
         actions = (
             ("DirCompare",   gtk.STOCK_DIALOG_INFO,  _("_Compare"), None, _("Compare selected"), self.on_button_diff_clicked),
-            ("DirCopyLeft",  gtk.STOCK_GO_BACK,      _("Left"),     None, _("Copy To Left"), self.on_button_copy_left_clicked),
-            ("DirCopyRight", gtk.STOCK_GO_FORWARD,   _("Right"),    None, _("Copy To Right"), self.on_button_copy_right_clicked),
-            ("DirDelete",    gtk.STOCK_DELETE,        None,         None, _("Delete selected"), self.on_button_delete_clicked),
+            ("DirCopyLeft",  gtk.STOCK_GO_BACK,      _("Left"),     "<Alt>Left", _("Copy To Left"), self.on_button_copy_left_clicked),
+            ("DirCopyRight", gtk.STOCK_GO_FORWARD,   _("Right"),    "<Alt>Right", _("Copy To Right"), self.on_button_copy_right_clicked),
+            ("DirDelete",    gtk.STOCK_DELETE,        None,         "Delete", _("Delete selected"), self.on_button_delete_clicked),
             ("Hide",         gtk.STOCK_NO,           _("Hide"),     None, _("Hide selected"), self.on_filter_hide_current_clicked),
 
             ("DirOpen",      gtk.STOCK_OPEN,          None,         None, _("Open selected"), self.on_button_open_clicked),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]