Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@sugarlabs.org>2011-08-01 00:27:49 (GMT)
committer Aleksey Lim <alsroot@sugarlabs.org>2011-08-01 00:27:49 (GMT)
commitcbcedfac523a0b416f422139a7bb60e16930c634 (patch)
treeb9a902f5178ef273107c9b2480220e15781a0a89 /common
parent61ad74a016423a977f82648d9ff5e5fa72bd4dac (diff)
Move HAVE_TOOLABAR definition to Config.py
Diffstat (limited to 'common')
-rw-r--r--common/Config.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/Config.py b/common/Config.py
index ed6777f..7f4d736 100644
--- a/common/Config.py
+++ b/common/Config.py
@@ -56,6 +56,12 @@ PLUGIN_RATE = 16000
PLUGIN_PERIOD = 256 # 512
PLUGIN_NPERIODS = 2
+try:
+ from sugar.graphics.toolbarbox import ToolbarBox, ToolbarButton
+ HAVE_TOOLBOX = True
+except ImportError:
+ HAVE_TOOLBOX = False
+
##############
## SOUNDS
##############