[Skencil-commits] r757 - skencil/branches/skencil-0.6/src/Sketch/Base
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Oct 11 09:08:25 CEST 2010
Author: igor_n
Date: 2010-10-11 09:08:24 +0200 (Mon, 11 Oct 2010)
New Revision: 757
Modified:
skencil/branches/skencil-0.6/src/Sketch/Base/gtkutils.py
Log:
color definitions for separators' classes
Modified: skencil/branches/skencil-0.6/src/Sketch/Base/gtkutils.py
===================================================================
--- skencil/branches/skencil-0.6/src/Sketch/Base/gtkutils.py 2010-10-11 07:07:29 UTC (rev 756)
+++ skencil/branches/skencil-0.6/src/Sketch/Base/gtkutils.py 2010-10-11 07:08:24 UTC (rev 757)
@@ -261,7 +261,7 @@
self.treelinescolor = gtk_colors['text normal']
self.d3_light = middle_color('#ffffff', gtk_colors['bg normal'])
- self.d3_dark = gtk_colors['bg active']
+ self.d3_dark = middle_color(gtk_colors['bg active'], gtk_colors['fg insensitive'])
self.light_border = gtk_colors['bg active']
self.normal_border = middle_color(gtk_colors['bg active'], gtk_colors['fg insensitive'])
@@ -300,7 +300,10 @@
widget.tk.call('option', 'add', '*canvas_frame.highlightColor', color_scheme.normal_border, 'interactive')
widget.tk.call('option', 'add', '*canvas_frame.highlightBackground', color_scheme.normal_border, 'interactive')
-
+
+ widget.tk.call('option', 'add', '*Darkline.background', color_scheme.d3_dark, 'interactive')
+ widget.tk.call('option', 'add', '*Lightline.background', color_scheme.d3_light, 'interactive')
+
#module self testing
if __name__ == '__main__':
More information about the Skencil-commits
mailing list