# HG changeset patch
# User Simon Heimberg <[email protected]>
# Date 1237192428 -3600
# Node ID c7fc4aeef653ed9c09998cc906a15cd6a8a54e9d
# Parent  2d08daa472678163038a97bcec3c29aad5a43376
menuthg: really add Sep

diff -r 2d08daa47267 -r c7fc4aeef653 tortoise/menuthg.py
--- a/tortoise/menuthg.py       Mon Mar 16 09:33:45 2009 +0100
+++ b/tortoise/menuthg.py       Mon Mar 16 09:33:48 2009 +0100
@@ -97,11 +97,11 @@
                   menutext, helptext, hgcmd, icon, state))
 
     def add_sep(self):
-        for s in self.sep:
-            s = True
+        self.sep = [True for _s in self.sep]
+
 
     def get(self):
-        menu = self.menus[0]
+        menu = self.menus[0][:]
         for submenu in self.menus[1:]:
             menu.append(TortoiseSubmenu(self.name, 'Mercurial', submenu, 
"hg.ico"))
         menu.append(TortoiseMenuSep())


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to