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

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


Author: craig
Date: Tue Feb 14 22:08:36 2012
New Revision: 17297

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

Modified:
    branches/Version14x/Scribus/scribus/plugins/scriptplugin/cmddoc.h

Modified: branches/Version14x/Scribus/scribus/plugins/scriptplugin/cmddoc.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17297&path=/branches/Version14x/Scribus/scribus/plugins/scriptplugin/cmddoc.h
==============================================================================
--- branches/Version14x/Scribus/scribus/plugins/scriptplugin/cmddoc.h (original)
+++ branches/Version14x/Scribus/scribus/plugins/scriptplugin/cmddoc.h Tue Feb 14 22:08:36 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