From 6bf19eae5239760be2c11fc39b56e11cd40c3efc Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Mon, 02 Feb 2009 16:01:31 +0000 Subject: Add a bit of OOP to ground/sound --- (limited to 'theme.py') 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() -- cgit v0.9.1