# HG changeset patch
# User Simon Heimberg <[email protected]>
# Date 1237193027 -3600
# Node ID 7da78a34d079edda0375ce0ab2f3392a6590fa99
# Parent  c7fc4aeef653ed9c09998cc906a15cd6a8a54e9d
menuthg: move config to tortoisehg.menu.{hgcmd}

diff -r c7fc4aeef653 -r 7da78a34d079 tortoise/menuthg.py
--- a/tortoise/menuthg.py       Mon Mar 16 09:33:48 2009 +0100
+++ b/tortoise/menuthg.py       Mon Mar 16 09:43:47 2009 +0100
@@ -75,7 +75,7 @@
         self.sep = [False]
 
     def add_menu(self, menutext, helptext, hgcmd, icon=None, state=True):
-        pos = self.ui.config('tortoisehg_menu', hgcmd)
+        pos = self.ui.config('tortoisehg', 'menu.' + hgcmd)
         if pos:
             if pos.isdigit():
                 pos = int(pos)


------------------------------------------------------------------------------
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