r20540 by gpittman -

scribus-commit scribus-commit at lists.scribus.net
Sat Nov 7 15:00:04 UTC 2015


Author: gpittman
Date: Sat Nov  7 15:00:04 2015
New Revision: 20540

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20540
Log:
Fixes for Autoquote.py and Autoquote2.py

Modified:
    trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote.py
    trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote2.py

Modified: trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote.py
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20540&path=/trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote.py
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote.py	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote.py	Sat Nov  7 15:00:04 2015
@@ -164,4 +164,4 @@
 scribus.setRedraw(1)
 scribus.docChanged(1)
 endmessage = 'Successfully ran script\n Last character read was '+str(char) # Change this message to your liking
-scribus.messageBox("Finished", endmessage,icon=0,button1=1)
+scribus.messageBox("Finished", endmessage, icon=scribus.ICON_NONE, button1=scribus.BUTTON_OK)

Modified: trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote2.py
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20540&path=/trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote2.py
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote2.py	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote2.py	Sat Nov  7 15:00:04 2015
@@ -341,4 +341,5 @@
                         icon=0,button1=1)
 else:
     scribus.messageBox("Done", 'Successfully ran script\n'+str(nbchange)+' replacements have occurred' + debugmessage, # Change this message to your liking
-                        icon=0,button1=1)
+                        icon=0,button1=1)
+    




More information about the scribus-commit mailing list