diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-02-15 17:23:52 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-02-15 17:23:52 (GMT) |
commit | 32c89a1fcb7a536455343b87dc799b800da66380 (patch) | |
tree | 45960295929ec126ff69ea5b7f275b58d5614254 /tests/test-entry.py | |
parent | 3353881920739cb85561abbd0bbdf6bede739f23 (diff) |
New widget OptionMenu.
Diffstat (limited to 'tests/test-entry.py')
-rwxr-xr-x | tests/test-entry.py | 4 |
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() |