From f5dcb1ff56f0883463ddd14780bf1f89ce3c222e Mon Sep 17 00:00:00 2001
From: Matthijs Kooijman <matthijs@stdin.nl>
Date: Tue, 18 Aug 2009 00:07:51 +0200
Subject: [PATCH] Make ListView.change_entry always call its super.

This makes it work in multiple inheritance situations. Also document the
method.
---
 src/gui/gui.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/gui/gui.py b/src/gui/gui.py
index a8f2171..30ae4e2 100644
--- a/src/gui/gui.py
+++ b/src/gui/gui.py
@@ -152,7 +152,11 @@ class ListView(View):
         self.set_view(appuifw.Listbox(self.items(),self.change_entry))
 
     def change_entry(self):
-        pass
+        """
+        This function is called when the user selects an an entry (e.g.,
+        navigates to it and push the ok button).
+        """
+        super(ListView).change_entry()
     
     def update(self,subject=None):
         #logger.log(u'Updated %s'%repr(self))
-- 
2.30.2