diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-02-02 16:01:31 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-02-02 16:01:31 (GMT) |
commit | 6bf19eae5239760be2c11fc39b56e11cd40c3efc (patch) | |
tree | 6ec8bad8a6153c63255aa4525998d43affd9185e /theme.py | |
parent | 95035d5eeb0a03b89a014de5410050ccfda83179 (diff) |
Add a bit of OOP to ground/sound
Diffstat (limited to 'theme.py')
-rw-r--r-- | theme.py | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -19,10 +19,17 @@ import shutil from sugar.activity.activity import get_bundle_path, get_activity_root from sugar.graphics import style -TRANSIMG = '50x50blank-trans.png' +PREINSTALLED = 0 +CUSTOM = 1 +JOURNAL = 2 +RESTORED = 3 + +SOUND_SPEAKER = 'images/sounds/speaker.png' +SOUND_MUTE = 'images/sounds/custom.png' +SOUND_CUSTOM = 'images/sounds/custom.png' LOGO_WIDTH = 275 -TAPE_COUNT = 13 +TAPE_COUNT = 11 FRAME_COUNT = 14 DESKTOP_WIDTH = gtk.gdk.screen_width() |