Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/common/Config.py
diff options
context:
space:
mode:
Diffstat (limited to 'common/Config.py')
-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
##############