aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ventoo/main.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ventoo/main.py b/src/ventoo/main.py
index d6435f1..2900c9b 100644
--- a/src/ventoo/main.py
+++ b/src/ventoo/main.py
@@ -254,7 +254,8 @@ class MainWindow(gtk.Window):
self.files_tv.clearFiles()
fileList = augeas_utils.accumulateFiles(self.a)
for f in fileList:
- self.files_tv.addPath(f)
+ ex = VentooModule.moduleExists(augeas_utils.getVentooModuleNameFromSysPath(self.a, osp.join('/', f)))
+ self.files_tv.addPath(f, ex)
"""
Given an augeas state and a ventoo module update the edit model to show