Reenable the journal. Add desktop background color.

This commit is contained in:
Marco Pesenti Gritti 2007-02-13 15:02:39 +01:00
parent 892caab0d8
commit 8f3fb612fd
2 changed files with 4 additions and 2 deletions

View File

@ -63,7 +63,7 @@ class Shell(gobject.GObject):
self._pservice = PresenceService.get_instance() self._pservice = PresenceService.get_instance()
#self.start_activity('org.laptop.JournalActivity') self.start_activity('org.laptop.JournalActivity')
def _activity_added_cb(self, home_model, home_activity): def _activity_added_cb(self, home_model, home_activity):
activity_host = ActivityHost(home_activity) activity_host = ActivityHost(home_activity)

View File

@ -10,7 +10,8 @@ _system_colors = {
'entry-text-focused' : '#000000', 'entry-text-focused' : '#000000',
'entry-text-unfocused' : '#FFFFFF', 'entry-text-unfocused' : '#FFFFFF',
'entry-border' : '#D1D1D2', 'entry-border' : '#D1D1D2',
'label-text' : '#FFFFFF' 'label-text' : '#FFFFFF',
'desktop-background' : '#E2E2E3'
} }
def _html_to_rgb(html_color): def _html_to_rgb(html_color):
@ -72,3 +73,4 @@ class Color(object):
ENTRY_TEXT_UNFOCUSED = SystemColor('entry-text-unfocused') ENTRY_TEXT_UNFOCUSED = SystemColor('entry-text-unfocused')
ENTRY_BORDER = SystemColor('entry-border') ENTRY_BORDER = SystemColor('entry-border')
LABEL_TEXT = SystemColor('label-text') LABEL_TEXT = SystemColor('label-text')
DESKTOP_BACKGROUND = SystemColor('desktop-background')