diff options
Diffstat (limited to 'shell/home/FriendsView.py')
-rw-r--r-- | shell/home/FriendsView.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/shell/home/FriendsView.py b/shell/home/FriendsView.py index 29418b7..2d6fb47 100644 --- a/shell/home/FriendsView.py +++ b/shell/home/FriendsView.py @@ -15,18 +15,18 @@ class Model(goocanvas.CanvasModelSimple): root = self.get_root_item() - color = self._theme.get_home_colors()[2] + color = self._theme.get_home_mesh_color() self._mesh_rect = goocanvas.Rect(width=1200, height=900, fill_color=color) root.add_child(self._mesh_rect) - color = self._theme.get_home_colors()[1] + color = self._theme.get_home_friends_color() self._friends_rect = goocanvas.Rect(x=100, y=100, width=1000, height=700, line_width=0, fill_color=color, radius_x=30, radius_y=30) root.add_child(self._friends_rect) - color = self._theme.get_home_colors()[0] + color = self._theme.get_home_activities_color() self._home_rect = goocanvas.Rect(x=400, y=300, width=400, height=300, line_width=0, fill_color=color, radius_x=30, radius_y=30) @@ -37,12 +37,12 @@ class Model(goocanvas.CanvasModelSimple): data_model.connect('friend-added', self.__friend_added_cb) - def __theme_changed_cb(self, theme, colors): - color = self._theme.get_home_colors()[0] + def __theme_changed_cb(self, theme): + color = self._theme.get_home_activities_color() self._home_rect.set_property("fill-color", color) - color = self._theme.get_home_colors()[1] + color = self._theme.get_home_friends_color() self._friends_rect.set_property("fill-color", color) - color = self._theme.get_home_colors()[2] + color = self._theme.get_home_mesh_color() self._mesh_rect.set_property("fill-color", color) def add_friend(self, friend): |