diff options
-rwxr-xr-x | ventoo | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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) |