# HG changeset patch
# User Adrian Buehlmann <[email protected]>
# Date 1252361921 -7200
# Node ID fd72b0d5d36313d4252f112897b9f2db86cd4269
# Parent 61c1e610319813f51dcc59dcfdb42dd87d83a50c
commit: change order in view menu
using same order as in layout
diff --git a/hggtk/commit.py b/hggtk/commit.py
--- a/hggtk/commit.py
+++ b/hggtk/commit.py
@@ -342,17 +342,18 @@ class GCommit(GStatus):
def view_menu(self):
menu = gtk.Menu()
+ button = gtk.CheckMenuItem(_('Show Advanced'))
+ button.connect('toggled', self.toggle_view, 'advanced')
+ button.set_active(self.showadvanced)
+ button.set_draw_as_radio(True)
+ menu.append(button)
+
button = gtk.CheckMenuItem(_('Show Parents'))
button.connect('toggled', self.toggle_view, 'parents')
button.set_active(self.showparents)
button.set_draw_as_radio(True)
menu.append(button)
- button = gtk.CheckMenuItem(_('Show Advanced'))
- button.connect('toggled', self.toggle_view, 'advanced')
- button.set_active(self.showadvanced)
- button.set_draw_as_radio(True)
- menu.append(button)
menu.show_all()
return menu
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop