r22066 by jghali - fix old messagebox syntax issue in ExtractText.py

scribus-commit scribus-commit at lists.scribus.net
Thu Jun 15 21:56:08 UTC 2017


Author: jghali
Date: Thu Jun 15 21:56:08 2017
New Revision: 22066

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22066
Log:
fix old messagebox syntax issue in ExtractText.py

Modified:
    trunk/Scribus/scribus/plugins/scriptplugin/samples/ExtractText.py

Modified: trunk/Scribus/scribus/plugins/scriptplugin/samples/ExtractText.py
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22066&path=/trunk/Scribus/scribus/plugins/scriptplugin/samples/ExtractText.py
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/samples/ExtractText.py	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/samples/ExtractText.py	Thu Jun 15 21:56:08 2017
@@ -63,7 +63,7 @@
     output_file.writelines(T)
     output_file.close()
     endmessage = textfile + ' was created'
-    scribus.messageBox("Finished", endmessage,icon=0,button1=1)
+    scribus.messageBox("Finished", endmessage, scribus.ICON_NONE, scribus.BUTTON_OK)
 
 
 if scribus.haveDoc():




More information about the scribus-commit mailing list