# HG changeset patch
# User Peer Sommerlund <[EMAIL PROTECTED]>
# Date 1228859205 -3600
# Node ID 38bd21f4951809f5d685e1576c4e71e3dc9164be
# Parent  3f550f36b564055a0759fcbd6604ce8a94b27690
thgconfig: Add keyboard shortcuts to "paths" page

Add shortcuts for Add (Alt-A), Remove (Alt-R), Test (Alt-T)

diff -r 3f550f36b564 -r 38bd21f49518 hggtk/thgconfig.py
--- a/hggtk/thgconfig.py        Tue Dec 09 22:46:45 2008 +0100
+++ b/hggtk/thgconfig.py        Tue Dec 09 22:46:45 2008 +0100
@@ -164,15 +164,18 @@
         vbox.add(scrolledwindow)
 
         buttonbox = gtk.HBox()
-        self.addButton = gtk.Button("Add")
+        self.addButton = gtk.Button("_Add")
+        self.addButton.set_use_underline(True)
         self.addButton.connect('clicked', self._add_path)
         buttonbox.pack_start(self.addButton)
 
-        self._delpathbutton = gtk.Button("Remove")
+        self._delpathbutton = gtk.Button("_Remove")
+        self._delpathbutton.set_use_underline(True)
         self._delpathbutton.connect('clicked', self._remove_path)
         buttonbox.pack_start(self._delpathbutton)
 
-        self._testpathbutton = gtk.Button("Test")
+        self._testpathbutton = gtk.Button("_Test")
+        self._testpathbutton.set_use_underline(True)
         self._testpathbutton.connect('clicked', self._test_path)
         buttonbox.pack_start(self._testpathbutton)
 

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to