Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/test-entry.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-entry.py')
-rwxr-xr-xtests/test-entry.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-entry.py b/tests/test-entry.py
index 7c4ac06..c87a5ae 100755
--- a/tests/test-entry.py
+++ b/tests/test-entry.py
@@ -31,6 +31,10 @@ def _entry_button_activated_cb(entry, action_id):
print "_entry_button_activated_cb: " + str(action_id)
entry.props.text = ''
+import os
+theme = gtk.icon_theme_get_default()
+theme.prepend_search_path(os.path.join(os.path.dirname(__file__), 'data'))
+
window = gtk.Window()
window.connect("destroy", lambda w: gtk.main_quit())
window.show()