r21745 by jghali - fix another button ID issue in python Autoquote script

scribus-commit scribus-commit at lists.scribus.net
Wed Jan 25 00:02:21 UTC 2017


Author: jghali
Date: Wed Jan 25 00:02:21 2017
New Revision: 21745

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21745
Log:
fix another button ID issue in python Autoquote script

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

Modified: trunk/Scribus/scribus/plugins/scriptplugin/scripts/Autoquote.py
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21745&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	Wed Jan 25 00:02:21 2017
@@ -86,7 +86,7 @@
 	lead_single = u"\u00bb"
 	follow_single = u"\u00ab"
     else:
-        scribus.messageBox('Language Error', 'You need to choose an available language', icon=0, button1=1)
+        scribus.messageBox('Language Error', 'You need to choose an available language', scribus.ICON_WARNING, scribus.BUTTON_OK)
         sys.exit(2)
         
 else:




More information about the scribus-commit mailing list