Author: johannes
Date: 2007-04-27 02:26:47 -0500 (Fri, 27 Apr 2007)
New Revision: 9540
Modified:
trunk/gnue-forms/src/GFForm.py
trunk/gnue-forms/src/uidrivers/win32/widgets/toolbutton.py
Log:
Changed debug-prints into gDebug()
Modified: trunk/gnue-forms/src/GFForm.py
===================================================================
--- trunk/gnue-forms/src/GFForm.py 2007-04-27 07:14:03 UTC (rev 9539)
+++ trunk/gnue-forms/src/GFForm.py 2007-04-27 07:26:47 UTC (rev 9540)
@@ -577,7 +577,7 @@
"""
# add global focus locking
if self._in_trigger_lock:
- print "Already called by a trigger"
+ gDebug(1, "Already called by a trigger")
return
self._in_trigger_lock = True
Modified: trunk/gnue-forms/src/uidrivers/win32/widgets/toolbutton.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/win32/widgets/toolbutton.py 2007-04-27 07:14:03 UTC (rev 9539)
+++ trunk/gnue-forms/src/uidrivers/win32/widgets/toolbutton.py 2007-04-27 07:26:47 UTC (rev 9540)
@@ -74,7 +74,7 @@
him = win32gui.LoadImage(0, str(icon_file), win32con.IMAGE_BITMAP, 24, 24, icon_flags)
win32gui.ImageList_Add(self.parent.himl, him, 0)
except:
- print win32api.FormatMessage(0)
+ gDebug(1, win32api.FormatMessage(0))
self.parent.toolbar.Connect(self.id, self.__on_tool)
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.