diff options
Diffstat (limited to 'shell/home/Theme.py')
-rw-r--r-- | shell/home/Theme.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/shell/home/Theme.py b/shell/home/Theme.py index 259d772..f0a4cbc 100644 --- a/shell/home/Theme.py +++ b/shell/home/Theme.py @@ -1,5 +1,7 @@ import gobject + + class Theme(gobject.GObject): __gsignals__ = { 'theme-changed': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, @@ -37,9 +39,14 @@ class Theme(gobject.GObject): if updated: self.emit('theme-changed') - def get_home_colors(self): - return self.__colors[self._cur_theme] + def get_home_activities_color(self): + return self.__colors[self._cur_theme][0] + + def get_home_friends_color(self): + return self.__colors[self._cur_theme][1] + def get_home_mesh_color(self): + return self.__colors[self._cur_theme][2] # Use this accessor, don't create more than one theme object _theme = None |