# HG changeset patch
# User Peer Sommerlund <[EMAIL PROTECTED]>
# Date 1227467588 -3600
# Node ID 86f7ccd16dae5cd145f39db4e09fdd42b2af909c
# Parent  67e6c0bbb3a316de638e23844d260c68458ea42e
thgconfig: Add keyboard shortcuts to "paths" page

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

diff -r 67e6c0bbb3a3 -r 86f7ccd16dae hggtk/thgconfig.py
--- a/hggtk/thgconfig.py        Sun Nov 23 20:12:35 2008 +0100
+++ b/hggtk/thgconfig.py        Sun Nov 23 20:13:08 2008 +0100
@@ -163,15 +163,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)
 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to