changeset 200:2987c6991005

Remove update_project_list method from GetanController In future the widgets will invalidate itself to start a repainting.
author Björn Ricks <bjoern.ricks@intevation.de>
date Fri, 05 Apr 2013 19:30:58 +0200
parents 3fa4ab9146dd
children 5d988b32723e
files getan/controller.py
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/getan/controller.py	Fri Apr 05 19:29:33 2013 +0200
+++ b/getan/controller.py	Fri Apr 05 19:30:58 2013 +0200
@@ -108,10 +108,6 @@
         self.update_entries(proj)
         self.project_view.update()
 
-    def update_project_list(self):
-        self.project_view.update()
-        self.view.update_view()
-
     def project_by_key(self, key):
         for proj in self.projects:
             if proj.key == key:
@@ -153,7 +149,6 @@
         self.backend.insert_project_entry(project, datetime.now(), desc)
         if display:
             self.update_entries(project)
-            self.update_project_list()
         logger.debug('Still running projects: %r' % self.running)
 
     def add_project(self, key, description):
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)