result src/pkgsearch.py to p-a-c view
[findit] / src / output.py
index abcafcd..0d1ab39 100644 (file)
@@ -6,10 +6,17 @@ import gtk
 
 class Output_Control(object):
     def __init__(self):
+        self.out_ui = Output_Presentation()
+
+    def show(self, filelist):
+        self.out_ui.show_result(filelist)
+
+    def get_ui(self):
+        return self.out_ui.get_ui()
 
 
 class Output_Abstraction(object):
-    def __init__(self):
+    pass
 
 
 class Output_Presentation(object):
@@ -52,4 +59,6 @@ class Output_Presentation(object):
         return self.scrollwind
 
     def show_result(self, filelist):
-
+        self.liststore.clear()
+        for stroka in filelist:
+            self.liststore.append(stroka)