Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/test-label.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-label.py')
-rwxr-xr-xtests/test-label.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-label.py b/tests/test-label.py
index 890a528..0ddfc17 100755
--- a/tests/test-label.py
+++ b/tests/test-label.py
@@ -23,6 +23,10 @@ from sugar.graphics.label import Label
from sugar.graphics.button import Button
from sugar.graphics.style import Color
+import os
+theme = gtk.icon_theme_get_default()
+theme.prepend_search_path(os.path.join(os.path.dirname(__file__), 'data'))
+
BUTTON_DELETE = 1
window = gtk.Window()