Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/view/frame/FriendsBox.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-07-31 12:05:14 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-07-31 12:05:14 (GMT)
commitcca69e70125c2550b36e0136de0154b88dae256a (patch)
tree8f4ccac5f948d358877067e79b73644e526c62ac /shell/view/frame/FriendsBox.py
parent1845435e8ce3f634c30c303112876c98865bf0b6 (diff)
Remove obsolete sugar.graphics.color.
Diffstat (limited to 'shell/view/frame/FriendsBox.py')
-rw-r--r--shell/view/frame/FriendsBox.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/view/frame/FriendsBox.py b/shell/view/frame/FriendsBox.py
index 7b7dc60..562c042 100644
--- a/shell/view/frame/FriendsBox.py
+++ b/shell/view/frame/FriendsBox.py
@@ -17,7 +17,7 @@
import hippo
from sugar.graphics.canvasicon import CanvasIcon
-from sugar.graphics import color
+from sugar.graphics import style
from sugar.presence import presenceservice
from view.BuddyIcon import BuddyIcon
from model.BuddyModel import BuddyModel
@@ -29,9 +29,9 @@ class FriendIcon(BuddyIcon):
def prelight(self, enter):
if enter:
- self.props.background_color = color.BLACK.get_int()
+ self.props.background_color = style.COLOR_BLACK.get_int()
else:
- self.props.background_color = color.TOOLBAR_BACKGROUND.get_int()
+ self.props.background_color = style.COLOR_TOOLBAR.GREY.get_int()
class FriendsBox(hippo.CanvasBox):
def __init__(self, shell):