diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-01-27 01:45:09 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-01-27 01:45:09 (GMT) |
commit | eeaf51704988bcc771c950128ce4c011e1dc7d91 (patch) | |
tree | 60aa0f86b3ccc8ee217fa905c9f6266650ee1233 /sugar/graphics/style.py | |
parent | 679f6f7c468c2171da62511cf214d10470c7ebb1 (diff) |
We was no more scaling icons depending on screen resolution, fix it
Diffstat (limited to 'sugar/graphics/style.py')
-rw-r--r-- | sugar/graphics/style.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sugar/graphics/style.py b/sugar/graphics/style.py index 07eb1cc..779605c 100644 --- a/sugar/graphics/style.py +++ b/sugar/graphics/style.py @@ -24,11 +24,11 @@ _screen_factor = gtk.gdk.screen_width() / 1200.0 space_unit = 9 * _screen_factor separator_thickness = 3 * _screen_factor -standard_icon_scale = 1.0 -small_icon_scale = 0.5 -medium_icon_scale = 1.5 -large_icon_scale = 2.0 -xlarge_icon_scale = 3.0 +standard_icon_scale = 1.0 * _screen_factor +small_icon_scale = 0.5 * _screen_factor +medium_icon_scale = 1.5 * _screen_factor +large_icon_scale = 2.0 * _screen_factor +xlarge_icon_scale = 3.0 * _screen_factor def load_stylesheet(module): for objname in dir(module): |