diff options
author | Walter Bender <walter@sugarlabs.org> | 2014-02-08 21:30:57 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2014-02-08 21:30:57 (GMT) |
commit | 92abfbf99c8ebe87c80d3730759715791fe90602 (patch) | |
tree | 6bbc0f0cae3be11110ec20a283543a13af57a9db /TurtleArt/taselector.py | |
parent | bd2118f3f737120661455cbdc3e3964775749b39 (diff) |
make public methods public
Diffstat (limited to 'TurtleArt/taselector.py')
-rw-r--r-- | TurtleArt/taselector.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TurtleArt/taselector.py b/TurtleArt/taselector.py index 269b4eb..5e680f4 100644 --- a/TurtleArt/taselector.py +++ b/TurtleArt/taselector.py @@ -59,7 +59,7 @@ class Selector(): self._name = palette_names[n] icon_pathname = None - for path in self._turtle_window._icon_paths: + for path in self._turtle_window.icon_paths: if os.path.exists(os.path.join(path, '%soff.svg' % (self._name))): icon_pathname = os.path.join(path, '%soff.svg' % (self._name)) break @@ -68,12 +68,12 @@ class Selector(): off_shape = svg_str_to_pixbuf(svg_from_file(icon_pathname)) else: off_shape = svg_str_to_pixbuf(svg_from_file(os.path.join( - self._turtle_window._icon_paths[0], 'extrasoff.svg'))) + self._turtle_window.icon_paths[0], 'extrasoff.svg'))) error_output('Unable to open %soff.svg' % (self._name), self._turtle_window.running_sugar) icon_pathname = None - for path in self._turtle_window._icon_paths: + for path in self._turtle_window.icon_paths: if os.path.exists(os.path.join(path, '%son.svg' % (self._name))): icon_pathname = os.path.join(path, '%son.svg' % (self._name)) break @@ -82,7 +82,7 @@ class Selector(): on_shape = svg_str_to_pixbuf(svg_from_file(icon_pathname)) else: on_shape = svg_str_to_pixbuf(svg_from_file(os.path.join( - self._turtle_window._icon_paths[0], 'extrason.svg'))) + self._turtle_window.icon_paths[0], 'extrason.svg'))) error_output('Unable to open %son.svg' % (self._name), self._turtle_window.running_sugar) |