r17298 by craig - 10580: haveDoc() actually returns an integer

scribus-commit scribus-commit at lists.scribus.net
Tue Feb 14 22:08:51 UTC 2012


Author: craig
Date: Tue Feb 14 22:08:51 2012
New Revision: 17298

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17298
Log:
10580: haveDoc() actually returns an integer

Modified:
    trunk/Scribus/scribus/plugins/scriptplugin/cmddoc.h

Modified: trunk/Scribus/scribus/plugins/scriptplugin/cmddoc.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17298&path=/trunk/Scribus/scribus/plugins/scriptplugin/cmddoc.h
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/cmddoc.h (original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/cmddoc.h Tue Feb 14 22:08:51 2012
@@ -111,9 +111,9 @@
 
 /*! docstring */
 PyDoc_STRVAR(scribus_havedoc__doc__,
-QT_TR_NOOP("haveDoc() -> bool\n\
-\n\
-Returns true if there is a document open.\n\
+QT_TR_NOOP("haveDoc() -> int\n\
+\n\
+Returns the quantity of open documents: 0 if none are opened.\n\
 "));
 /** Checks if is a document opened. */
 PyObject *scribus_havedoc(PyObject * /*self*/);




More information about the scribus-commit mailing list