dabo Commit
Revision 3134
Date: 2007-05-25 12:09:29 -0700 (Fri, 25 May 2007)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/3134

Changed:
U   trunk/dabo/ui/uiwx/dBaseMenuBar.py

Log:
Add application name, if available, to the About menu entry.


Diff:
Modified: trunk/dabo/ui/uiwx/dBaseMenuBar.py
===================================================================
--- trunk/dabo/ui/uiwx/dBaseMenuBar.py  2007-05-23 14:37:18 UTC (rev 3133)
+++ trunk/dabo/ui/uiwx/dBaseMenuBar.py  2007-05-25 19:09:29 UTC (rev 3134)
@@ -129,7 +129,12 @@
                app = self.Application
                self.Caption = _("&Help")
 
-               itm = self.append(_("&About"), id=wx.ID_ABOUT, 
+               appName = app.getAppInfo("appShortName")
+               caption = _("&About")
+               if appName:
+                       caption += " %s" % appName
+
+               itm = self.append(caption, id=wx.ID_ABOUT, 
                                OnHit=app.onHelpAbout,
                                help=_("About this application") )
                # Put the about menu in the App Menu on Mac




_______________________________________________
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/dabo-dev/[EMAIL PROTECTED]

Reply via email to