From e6a0ed78725ef94c14579e7c6b31da25c91d8b45 Mon Sep 17 00:00:00 2001 From: Christopher Harvey Date: Fri, 11 Jun 2010 22:34:32 -0400 Subject: fixed bugs in ventoo exectuable. --- ventoo | 9 ++++++--- 1 file 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) -- cgit v1.2.3-65-gdbad