Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Area.py
diff options
context:
space:
mode:
authorAlexandre Antonino Gonçalves Martinazzo <alexandremartinazzo@gmail.com>2007-07-27 19:34:50 (GMT)
committer Alexandre Antonino Gonçalves Martinazzo <alexandremartinazzo@gmail.com>2007-07-27 19:34:50 (GMT)
commit05e9648640120a7523aee558bd730fb938ac381d (patch)
tree82ab81e88e3a31b53d79195ac9ee34c43b33728c /Area.py
parent900971006bd6748cd1250ba5bf44617eec2e9455 (diff)
Colors now are choosen from a ColorButton
Diffstat (limited to 'Area.py')
-rw-r--r--Area.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/Area.py b/Area.py
index e10b6c1..7a5fced 100644
--- a/Area.py
+++ b/Area.py
@@ -567,8 +567,6 @@ class Area(gtk.DrawingArea):
color -- a gdk.Color object
"""
- #self.color_ = color
- #self.gc.set_foreground(self.cores[color])
self.gc.set_foreground(color)
@@ -580,15 +578,7 @@ class Area(gtk.DrawingArea):
color -- a gdk.Color object
"""
- '''
- self.color_line = color
- self.gc_line.set_foreground(self.cores[color])
- self.gc_line.set_line_attributes(1, gtk.gdk.LINE_ON_OFF_DASH, gtk.gdk.CAP_ROUND, gtk.gdk.JOIN_ROUND)
- self.gc_brush.set_foreground(self.cores[color])
- self.color_dec = self.cores[color].pixel
- '''
- #self.color_line = color
self.gc_line.set_foreground(color)
self.gc_line.set_line_attributes(1, gtk.gdk.LINE_ON_OFF_DASH, gtk.gdk.CAP_ROUND, gtk.gdk.JOIN_ROUND)
self.gc_brush.set_foreground(color)