Addresses #713

# HG changeset patch
# User Emmanuel Rosa <goaway1...@gmail.com>
# Date 1261098026 18000
# Node ID 3d5d8f77fae6452166ffe7ee0bdc1892d75765c0
# Parent  5c5a84a7491bb35afb8a3a1f072daee080eec5c9
history: add refresh button to sync bar

Addresses #713

diff --git a/tortoisehg/hgtk/history.py b/tortoisehg/hgtk/history.py
--- a/tortoisehg/hgtk/history.py
+++ b/tortoisehg/hgtk/history.py
@@ -1047,6 +1047,9 @@
         self.syncbox = gtklib.SlimToolbar(self.tooltips)
         syncbox = self.syncbox
 
+        refresh = syncbox.append_stock(gtk.STOCK_REFRESH,
+                        _('Reload revision history'))
+        syncbox.append_widget(gtk.VSeparator())
         incoming = syncbox.append_stock(gtk.STOCK_GO_DOWN,
                         _('Download and view incoming changesets'))
         apply = syncbox.append_stock(gtk.STOCK_APPLY,
@@ -1117,6 +1120,7 @@
                         _('Configure aliases and after pull behavior'))
 
         ## connect syncbar buttons
+        refresh.connect('clicked', self.refresh_clicked)
         incoming.connect('clicked', self.incoming_clicked)
         pull.connect('clicked', self.pull_clicked)
         outgoing.connect('clicked', self.outgoing_clicked)
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to