summaryrefslogtreecommitdiff
path: root/examples/ide
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2011-02-15 17:31:16 +0100
committerDieter Verfaillie <dieterv@optionexplicit.be>2011-02-17 12:38:12 +0100
commitd82023765f874731214cfe9fcd53edb8734d234b (patch)
tree70a162c19499fb128c0f584c335cff6ddb5360bb /examples/ide
parent0b535a9dbf5aa9c4095401d79f80e99c285a2313 (diff)
downloadpygtk-d82023765f874731214cfe9fcd53edb8734d234b.tar.gz
Add 'import pygtk; pygtk.require('2.0') statements where needed
Diffstat (limited to 'examples/ide')
-rw-r--r--examples/ide/edit.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/ide/edit.py b/examples/ide/edit.py
index 6e34e8b0..78e30dfa 100644
--- a/examples/ide/edit.py
+++ b/examples/ide/edit.py
@@ -3,9 +3,11 @@
# This is a sample implementation of an editor.
import os
-import dialogs
+import pygtk
+pygtk.require('2.0')
import gtk
+import dialogs
BLOCK_SIZE = 2048
RESPONSE_FORWARD = 1