[Xword-commits] r128 - trunk
terrencegf at garage.maemo.org
terrencegf at garage.maemo.org
Thu May 29 00:48:38 EEST 2008
Author: terrencegf
Date: 2008-05-29 00:48:38 +0300 (Thu, 29 May 2008)
New Revision: 128
Modified:
trunk/xword
Log:
Catch warning message observed on NIT caused by set_label().
Modified: trunk/xword
===================================================================
--- trunk/xword 2008-05-28 21:27:58 UTC (rev 127)
+++ trunk/xword 2008-05-28 21:48:38 UTC (rev 128)
@@ -2228,7 +2228,10 @@
for index in range(len(self.clock_buttons)):
sold = self.clock_buttons[index].get_label()
if sold <> s:
- self.clock_buttons[index].set_label(s)
+ try:
+ self.clock_buttons[index].set_label(s)
+ except:
+ pass
return True
More information about the Xword-commits
mailing list