Don't let ListView call a non-existent method on its superclass.
[matthijs/upstream/mobilegtd.git] / src / gui / gui.py
index 33f8973fa8ddaafaa9b6f1cac3d8161d901018b3..ea288a3d7ef8b876798824aaae955e6c5d78c053 100644 (file)
@@ -137,14 +137,13 @@ class View(object):
     def exit(self):
         self.exit_flag = True
         self.lock.signal()
     def exit(self):
         self.exit_flag = True
         self.lock.signal()
-        super(View, self).exit()
 
     def refresh(self):
         """
         Update the gui after a change in model or some user interaction.
         Should be filled by subclasses.
         """
 
     def refresh(self):
         """
         Update the gui after a change in model or some user interaction.
         Should be filled by subclasses.
         """
-        super(View, self).refresh()
+        pass
 
     def get_menu_entries(self):
         """ Returns a list of menu entries to display. Will be
 
     def get_menu_entries(self):
         """ Returns a list of menu entries to display. Will be
@@ -165,7 +164,7 @@ class ListView(View):
         This function is called when the user selects an an entry (e.g.,
         navigates to it and push the ok button).
         """
         This function is called when the user selects an an entry (e.g.,
         navigates to it and push the ok button).
         """
-        super(ListView).entry_selected()
+        pass
     
     def update(self,subject=None):
         #logger.log(u'Updated %s'%repr(self))
     
     def update(self,subject=None):
         #logger.log(u'Updated %s'%repr(self))