Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24543/src/gui
Modified Files:
wxMApp.cpp
Log Message:
added --nopython option (mainly useful for debugging)
Index: wxMApp.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMApp.cpp,v
retrieving revision 1.294
retrieving revision 1.295
diff -b -u -2 -r1.294 -r1.295
--- wxMApp.cpp 21 Jul 2004 23:31:23 -0000 1.294
+++ wxMApp.cpp 24 Oct 2004 12:52:00 -0000 1.295
@@ -2189,4 +2189,5 @@
#define OPTION_LANG _T("lang")
#define OPTION_NEWSGROUP _T("newsgroup")
+#define OPTION_NOPYTHON _T("nopython")
#define OPTION_SAFE _T("safe")
#define OPTION_SUBJECT _T("subject")
@@ -2271,4 +2272,14 @@
},
+ // --nopython to disable loading Python interpreter
+ // (note that this option exists even if Python is not compiled in, in
+ // this case it simply does nothing)
+ {
+ wxCMD_LINE_SWITCH,
+ NULL,
+ OPTION_NOPYTHON,
+ gettext_noop("don't load Python interpreter even if configured to do so"),
+ },
+
// --newsgroup to specify the newsgroup to post the message to
{
@@ -2344,4 +2355,8 @@
m_cmdLineOptions->debugMail = parser.Found(OPTION_DEBUGMAIL);
+#ifdef USE_PYTHON
+ m_cmdLineOptions->noPython = parser.Found(OPTION_NOPYTHON);
+#endif // USE_PYTHON
+
if ( startComposer )
{
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates