[Skencil-commits] r795 - skencil/branches/skencil-0.6/src/Sketch/Base

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Sun Feb 6 20:10:04 CET 2011


Author: bh
Date: 2011-02-06 20:10:04 +0100 (Sun, 06 Feb 2011)
New Revision: 795

Modified:
   skencil/branches/skencil-0.6/src/Sketch/Base/gtkutils.py
Log:
Fix fallback font in get_gtk_fonts. The font size needs to be an int.


Modified: skencil/branches/skencil-0.6/src/Sketch/Base/gtkutils.py
===================================================================
--- skencil/branches/skencil-0.6/src/Sketch/Base/gtkutils.py	2011-02-06 19:02:22 UTC (rev 794)
+++ skencil/branches/skencil-0.6/src/Sketch/Base/gtkutils.py	2011-02-06 19:10:04 UTC (rev 795)
@@ -61,7 +61,7 @@
         fixed_font[0] = 'monospace'
     except:
         small_font = normal_font = large_font = fixed_font = \
-                     ['helvetica', '', '9']
+                     ['helvetica', '', 9]
 
     return [small_font, normal_font, large_font, fixed_font]
 



More information about the Skencil-commits mailing list