From 8f3fb612fd180bbce84359ed956cf3765c9e9f69 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 13 Feb 2007 15:02:39 +0100 Subject: [PATCH] Reenable the journal. Add desktop background color. --- shell/view/Shell.py | 2 +- sugar/graphics/color.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/shell/view/Shell.py b/shell/view/Shell.py index 9b14b69c..242bf51e 100644 --- a/shell/view/Shell.py +++ b/shell/view/Shell.py @@ -63,7 +63,7 @@ class Shell(gobject.GObject): 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): activity_host = ActivityHost(home_activity) diff --git a/sugar/graphics/color.py b/sugar/graphics/color.py index 00865464..19e105e6 100644 --- a/sugar/graphics/color.py +++ b/sugar/graphics/color.py @@ -10,7 +10,8 @@ _system_colors = { 'entry-text-focused' : '#000000', 'entry-text-unfocused' : '#FFFFFF', 'entry-border' : '#D1D1D2', - 'label-text' : '#FFFFFF' + 'label-text' : '#FFFFFF', + 'desktop-background' : '#E2E2E3' } def _html_to_rgb(html_color): @@ -72,3 +73,4 @@ class Color(object): ENTRY_TEXT_UNFOCUSED = SystemColor('entry-text-unfocused') ENTRY_BORDER = SystemColor('entry-border') LABEL_TEXT = SystemColor('label-text') + DESKTOP_BACKGROUND = SystemColor('desktop-background')