[Skencil-commits] r744 - skencil/branches/skencil-0.6/src/Sketch/UI
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Oct 8 16:12:11 CEST 2010
Author: igor_n
Date: 2010-10-08 16:12:10 +0200 (Fri, 08 Oct 2010)
New Revision: 744
Modified:
skencil/branches/skencil-0.6/src/Sketch/UI/skapp.py
Log:
apply imported gtk values
Modified: skencil/branches/skencil-0.6/src/Sketch/UI/skapp.py
===================================================================
--- skencil/branches/skencil-0.6/src/Sketch/UI/skapp.py 2010-10-08 14:11:33 UTC (rev 743)
+++ skencil/branches/skencil-0.6/src/Sketch/UI/skapp.py 2010-10-08 14:12:10 UTC (rev 744)
@@ -18,7 +18,7 @@
import sys
from Sketch.warn import pdebug
-from Sketch import _, config, plugins, Publisher
+from Sketch import _, config, plugins, Publisher, gtkutils
import Sketch
from Sketch.Graphics import document
@@ -104,6 +104,10 @@
self.root = Tk(screenName = screen_name,
baseName = self.tk_basename,
className = self.tk_class_name)
+
+ gtkutils.set_ui_fonts(self.root, Sketch.ui_fonts)
+ gtkutils.set_ui_colors(self.root, Sketch.ui_colors)
+
# Reset locale again to make sure we get properly translated
# messages if desired by the user. For some reason it may
# have been reset by Tcl/Tk.
More information about the Skencil-commits
mailing list