diff options
Diffstat (limited to 'shell/home/HomeView.py')
-rw-r--r-- | shell/home/HomeView.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/shell/home/HomeView.py b/shell/home/HomeView.py index a84b4f6..7894368 100644 --- a/shell/home/HomeView.py +++ b/shell/home/HomeView.py @@ -46,12 +46,12 @@ class Background(goocanvas.Group): self._theme = Theme.get_instance() self._theme.connect("theme-changed", self.__theme_changed_cb) - color = self._theme.get_home_colors()[1] + color = self._theme.get_home_friends_color() self._friends_rect = goocanvas.Rect(width=1200, height=900, fill_color=color) self.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=100, y=100, width=1000, height=700, line_width=0, fill_color=color, radius_x=30, radius_y=30) @@ -62,10 +62,10 @@ class Background(goocanvas.Group): font="Sans 21") self.add_child(item) - 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_friends_colors() self._friends_rect.set_property("fill-color", color) class Model(goocanvas.CanvasModelSimple): |