Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/graphics/style.py
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-02-15 17:23:52 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-02-15 17:23:52 (GMT)
commit32c89a1fcb7a536455343b87dc799b800da66380 (patch)
tree45960295929ec126ff69ea5b7f275b58d5614254 /sugar/graphics/style.py
parent3353881920739cb85561abbd0bbdf6bede739f23 (diff)
New widget OptionMenu.
Diffstat (limited to 'sugar/graphics/style.py')
-rw-r--r--sugar/graphics/style.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/sugar/graphics/style.py b/sugar/graphics/style.py
index ab1d036..81f2961 100644
--- a/sugar/graphics/style.py
+++ b/sugar/graphics/style.py
@@ -39,7 +39,10 @@ _system_colors = {
'entry-text-unfocused' : '#FFFFFF',
'entry-border' : '#D1D1D2',
'label-text' : '#FFFFFF',
- 'desktop-background' : '#E2E2E3'
+ 'desktop-background' : '#E2E2E3',
+ 'menu-background' : '#414141',
+ 'menu-separator' : '#D1D1D2',
+ 'menu-border' : '#D1D1D2'
}
def _html_to_rgb(html_color):
@@ -102,6 +105,9 @@ class Color(object):
ENTRY_BORDER = SystemColor('entry-border')
LABEL_TEXT = SystemColor('label-text')
DESKTOP_BACKGROUND = SystemColor('desktop-background')
+ MENU_BACKGROUND = SystemColor('menu-background')
+ MENU_SEPARATOR = SystemColor('menu-separator')
+ MENU_BORDER = SystemColor('menu-border')
_system_fonts = {
'default' : 'Bitstream Vera Sans %d' % _default_font_size