# HG changeset patch
# User Peer Sommerlund <[EMAIL PROTECTED]>
# Date 1228436894 -3600
# Node ID 8905990aa65145cfcea6e45e581442d0e7328eaf
# Parent 12773670c5e4206f38b2d45dd05b4b49f49c3fa2
thgconfig: Add keyboard shortcuts to "paths" page
Add shortcuts for Add (Alt-A), Remove (Alt-R), Test (Alt-T)
diff -r 12773670c5e4 -r 8905990aa651 hggtk/thgconfig.py
--- a/hggtk/thgconfig.py Fri Dec 05 01:28:14 2008 +0100
+++ b/hggtk/thgconfig.py Fri Dec 05 01:28:14 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