# HG changeset patch
# User Yuki KODAMA <[email protected]>
# Date 1252253619 -32400
# Node ID 84217fe1f1c1604e3d3f8ecc6cca90f0679ce281
# Parent 0cd7e71b1214984b58fe1f9b3cf59bbcb833609c
shelve: fix context menu of file list
fixes 2 issues:
1. invalid handler name
2. wrong return value
diff --git a/hggtk/thgshelve.py b/hggtk/thgshelve.py
--- a/hggtk/thgshelve.py
+++ b/hggtk/thgshelve.py
@@ -92,9 +92,9 @@
self.shelve_selected(files)
self.activate_shelve_buttons(True)
if self.merging:
- return []
+ return ()
else:
- return (_('_shelve'), commit, 'MAR')
+ return ((_('_shelve'), shelve, 'MAR'),)
def should_live(self, widget=None, event=None):
------------------------------------------------------------------------------
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