dabo Commit
Revision 5829
Date: 2010-05-19 07:31:47 -0700 (Wed, 19 May 2010)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5829

Changed:
U   trunk/ide/wizards/AppWizard/spec-FrmMain.py.txt

Log:
Get the file menu by MenuID and not Caption, which could have been localized.


Diff:
Modified: trunk/ide/wizards/AppWizard/spec-FrmMain.py.txt
===================================================================
--- trunk/ide/wizards/AppWizard/spec-FrmMain.py.txt     2010-05-19 14:14:37 UTC 
(rev 5828)
+++ trunk/ide/wizards/AppWizard/spec-FrmMain.py.txt     2010-05-19 14:31:47 UTC 
(rev 5829)
@@ -19,7 +19,7 @@
        def fillFileOpenMenu(self):
                """Add the File|Open menu, with menu items for opening each 
form."""
                app = self.Application
-               fileMenu = self.MenuBar.getMenu("File")
+               fileMenu = self.MenuBar.getMenu("base_file")
                fileMenu.prependMenu(MenFileOpen(fileMenu))
 
 



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to