diff options
author | 2010-06-11 22:34:32 -0400 | |
---|---|---|
committer | 2010-06-12 13:36:35 -0400 | |
commit | e6a0ed78725ef94c14579e7c6b31da25c91d8b45 (patch) | |
tree | 89ceabff1c1613398606ebf3b0869871749961e3 | |
parent | fixed getVentooModuleNameFromSysPath...it was being without system paths. (diff) | |
download | ventoo-e6a0ed78725ef94c14579e7c6b31da25c91d8b45.tar.gz ventoo-e6a0ed78725ef94c14579e7c6b31da25c91d8b45.tar.bz2 ventoo-e6a0ed78725ef94c14579e7c6b31da25c91d8b45.zip |
fixed bugs in ventoo exectuable.
-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) |