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:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-07-31 12:56:05 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-07-31 12:56:05 (GMT)
commitd8faf0ba047a7f33fd9d5ba21a428cdc5ca509d5 (patch)
tree5e1755ce3955f6c6861ee6e922f9964537d90130 /sugar/graphics/style.py
parentcca69e70125c2550b36e0136de0154b88dae256a (diff)
Get rid of some of the obsolete units usage.
Diffstat (limited to 'sugar/graphics/style.py')
-rw-r--r--sugar/graphics/style.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sugar/graphics/style.py b/sugar/graphics/style.py
index 97a6ca8..336fe10 100644
--- a/sugar/graphics/style.py
+++ b/sugar/graphics/style.py
@@ -89,6 +89,7 @@ _TAB_CURVATURE = 1
ZOOM_FACTOR = _compute_zoom_factor()
DEFAULT_SPACING = zoom(8)
+DEFAULT_BORDER = zoom(6)
LINE_WIDTH = zoom(2)
FONT_SIZE = zoom(7 * _XO_DPI / _get_screen_dpi())
@@ -103,7 +104,7 @@ TOOLBOX_TAB_VBORDER = int((zoom(36) - FONT_NORMAL_H - _FOCUS_LINE_WIDTH) / 2)
TOOLBOX_TAB_HBORDER = zoom(15) - _FOCUS_LINE_WIDTH - _TAB_CURVATURE
TOOLBOX_TAB_LABEL_WIDTH = zoom(150 - 15 * 2)
-COLOR_WHITE = Color('#000000')
+COLOR_BLACK = Color('#000000')
COLOR_WHITE = Color('#FFFFFF')
COLOR_PANEL_GREY = Color('#C0C0C0')
COLOR_SELECTION_GREY = Color('#A6A6A6')