diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-07-31 13:21:09 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-07-31 13:21:09 (GMT) |
commit | 72d66793a73a3ca7924b09badb5d269b41d649a3 (patch) | |
tree | 77c248c5ae5af6e8cd8752d4bc7894863daf1dab /sugar | |
parent | 2ae2279d94cc890ec769bdd5952254da601e0754 (diff) |
Fix all the units except icon scales.
Diffstat (limited to 'sugar')
-rw-r--r-- | sugar/graphics/style.py | 1 | ||||
-rw-r--r-- | sugar/graphics/toolcombobox.py | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/sugar/graphics/style.py b/sugar/graphics/style.py index 3198704..80d6688 100644 --- a/sugar/graphics/style.py +++ b/sugar/graphics/style.py @@ -90,6 +90,7 @@ ZOOM_FACTOR = _compute_zoom_factor() DEFAULT_SPACING = zoom(8) DEFAULT_PADDING = zoom(6) +GRID_CELL_SIZE = zoom(75) LINE_WIDTH = zoom(2) FONT_SIZE = zoom(7 * _XO_DPI / _get_screen_dpi()) diff --git a/sugar/graphics/toolcombobox.py b/sugar/graphics/toolcombobox.py index 8ea5a3c..460dcee 100644 --- a/sugar/graphics/toolcombobox.py +++ b/sugar/graphics/toolcombobox.py @@ -19,7 +19,6 @@ import gtk import gobject from sugar.graphics.combobox import ComboBox -from sugar.graphics import units from sugar.graphics import style class ToolComboBox(gtk.ToolItem): |