summaryrefslogtreecommitdiff
path: root/examples/pygtk-demo/demos/ui_manager.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pygtk-demo/demos/ui_manager.py')
-rw-r--r--examples/pygtk-demo/demos/ui_manager.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/pygtk-demo/demos/ui_manager.py b/examples/pygtk-demo/demos/ui_manager.py
index 02eed389..56510ac0 100644
--- a/examples/pygtk-demo/demos/ui_manager.py
+++ b/examples/pygtk-demo/demos/ui_manager.py
@@ -6,6 +6,8 @@ from an array of actions and a description of the menu hierarchy.
'''
# pygtk version: Maik Hertha <maik.hertha@berlin.de>
+import pygtk
+pygtk.require('2.0')
import gobject
import gtk