[Skencil-commits] r790 - skencil/branches/skencil-0.6/src/Sketch/Base
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Nov 22 14:48:11 CET 2010
Author: igor_n
Date: 2010-11-22 14:48:11 +0100 (Mon, 22 Nov 2010)
New Revision: 790
Modified:
skencil/branches/skencil-0.6/src/Sketch/Base/gtkutils.py
Log:
improvement for cases when gtk values import is failed
Modified: skencil/branches/skencil-0.6/src/Sketch/Base/gtkutils.py
===================================================================
--- skencil/branches/skencil-0.6/src/Sketch/Base/gtkutils.py 2010-11-22 13:40:48 UTC (rev 789)
+++ skencil/branches/skencil-0.6/src/Sketch/Base/gtkutils.py 2010-11-22 13:48:11 UTC (rev 790)
@@ -192,7 +192,10 @@
return
else:
self.name = SYSTEM_SCHEME
- self.import_gtk_colors()
+ try:
+ self.import_gtk_colors()
+ except:
+ scheme == BUILTIN_SCHEME
def import_gtk_colors(self):
"""
More information about the Skencil-commits
mailing list