Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/theme.py
diff options
context:
space:
mode:
authorAleksey 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)
commit6bf19eae5239760be2c11fc39b56e11cd40c3efc (patch)
tree6ec8bad8a6153c63255aa4525998d43affd9185e /theme.py
parent95035d5eeb0a03b89a014de5410050ccfda83179 (diff)
Add a bit of OOP to ground/sound
Diffstat (limited to 'theme.py')
-rw-r--r--theme.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/theme.py b/theme.py
index 05ebdc4..74bd3ef 100644
--- a/theme.py
+++ b/theme.py
@@ -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()