diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-03 22:55:20 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-03 22:55:20 (GMT) |
commit | 1f8ff1db1fddbf60fc776c484b980d8926c44538 (patch) | |
tree | f44ca2aa4df4c905d4861688f622b07fd8fd3299 /shell/conf | |
parent | 717bdd66f45e31074952bbf49c78e14153f92c57 (diff) |
Move all the canvas code that doesn't depend on goocanvas anymore in graphics.
Diffstat (limited to 'shell/conf')
-rw-r--r-- | shell/conf/Profile.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/conf/Profile.py b/shell/conf/Profile.py index ced73cf..30172ff 100644 --- a/shell/conf/Profile.py +++ b/shell/conf/Profile.py @@ -1,14 +1,14 @@ import os from ConfigParser import ConfigParser -from sugar.canvas import IconColor +from sugar.graphics import iconcolor from sugar import env class _Profile: def __init__(self,): self._path = env.get_profile_path() self._nick_name = None - self._color = IconColor.IconColor() + self._color = iconcolor.IconColor() self._ensure_dirs() @@ -19,8 +19,8 @@ class _Profile: self._nick_name = cp.get('Buddy', 'NickName') if cp.has_option('Buddy', 'Color'): color = cp.get('Buddy', 'Color') - if IconColor.is_valid(color): - self._color = IconColor.IconColor(color) + if iconcolor.is_valid(color): + self._color = iconcolor.IconColor(color) def _ensure_dirs(self): try: |