fixing window_width and window_height in core.py
author“Alexandr <“popov2al@gmail.com”>
Sun, 12 Apr 2009 10:29:41 +0000 (14:29 +0400)
committer“Alexandr <“popov2al@gmail.com”>
Sun, 12 Apr 2009 10:29:41 +0000 (14:29 +0400)
src/core.py

index 14054d5..e8728f4 100644 (file)
@@ -9,7 +9,8 @@ class Core_Control(object):
         from config import Config_Control
         self.cfg = Config_Control()
                
-        core_present = Core_Presentation(575, 345, self.chooser)
+        core_present = Core_Presentation(self.cfg.get('window_width'), \
+                self.cfg.get('window_height'), self.chooser)
         core_present.run()
 
     def chooser(self, search_type, show_type):