Update of /cvsroot/mahogany/M/src/Python/Scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv24899/src/Python/Scripts

Modified Files:
        Minit.py 
Log Message:
overwrote with a copy from src/Python/INIT

Index: Minit.py
===================================================================
RCS file: /cvsroot/mahogany/M/src/Python/Scripts/Minit.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -b -u -2 -r1.4 -r1.5
--- Minit.py    7 May 1999 23:15:25 -0000       1.4
+++ Minit.py    10 Jan 2004 21:57:32 -0000      1.5
@@ -13,5 +13,6 @@
 ####################################################################
 
-import MString, MAppBase, MailFolder, MProfile, Message
+import MDialogs
+import MailFolder
 
 # helper function: return the username
@@ -44,12 +45,6 @@
 
 def Minit():
-    msg = "Welcome, " + GetUserName() \
-    + ", to the wonderful world of Mahogany/Python integration!\n" \
-    + "\n" \
-    + "This dialog is generated by the Python subsystem, if you\n" \
-    + "find it annoying, just disable Python support in the pre-\n" \
-    + "ferences. It is not used for anything else at the moment."
-    
-    MAppBase.MDialog_Message(msg)
+    msg = "Welcome, " + GetUserName() + ", to the wonderful world of M/Python 
integration!"
+    MDialogs.Message(msg)
 
 ####################################################################
@@ -61,5 +56,5 @@
 def callback_func(arg):
     msg = "This is a Python Callback Function!\nThe argument is: " + arg
-    MAppBase.MDialog_Message(msg);
+    MDialogs.Message(msg);
     
 def OpenFolderCallback(name, arg):
@@ -68,3 +63,3 @@
     msg = msg + "\n  from the mailfolder called:" + mf.GetName().c_str()
     msg = msg + "\n  The folder contains " + mf.CountMessages() + " messages."
-    MAppBase.MDialog_Message(msg);
+    MDialogs.Message(msg);



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to