aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xventoo9
1 files changed, 6 insertions, 3 deletions
diff --git a/ventoo b/ventoo
index d7d9779..202ded8 100755
--- a/ventoo
+++ b/ventoo
@@ -1,10 +1,13 @@
#!/usr/bin/env python
import sys
+import pygtk
+pygtk.require('2.0')
+import gtk
import os.path as osp
import ventoo.main
import augeas
-import shutils
+import shutil
import os
sandboxDir = '/'
@@ -20,8 +23,8 @@ print 'Starting augeas...'
a = augeas.Augeas(sandboxDir, None, augeas.Augeas.SAVE_NEWFILE)
print 'Creating window...'
-if sandboxDir == '/':
- pass
+ventoo.main.sandboxDir = sandboxDir
+
#Note, it IS possible to create mutiple windows and augeas
#instances to edit multiple "roots" at the same time.
window = ventoo.main.MainWindow(a)