fixed problem with show main window - fixed src/output.py
authorAlexandr Popov <popov2al@gmail.com>
Sat, 28 Mar 2009 22:41:54 +0000 (01:41 +0300)
committerAlexandr Popov <popov2al@gmail.com>
Sat, 28 Mar 2009 22:41:54 +0000 (01:41 +0300)
src/output.py

index abcafcd..c8aec99 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,5 @@ class Output_Presentation(object):
         return self.scrollwind
 
     def show_result(self, filelist):
-
+        for stroka in filelist:
+            self.liststore.append(stroka)