projects
/
matthijs
/
upstream
/
mobilegtd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make all *View classes call their parent constructors.
[matthijs/upstream/mobilegtd.git]
/
src
/
gui
/
gui.py
diff --git
a/src/gui/gui.py
b/src/gui/gui.py
index 0247175fc22ee76eb165184427b36aa257f67cd0..e4b3db05d88086b6aea5f619f31c76aa2384ba34 100644
(file)
--- a/
src/gui/gui.py
+++ b/
src/gui/gui.py
@@
-105,6
+105,7
@@
def restore_gui(object):
class ListView(object):
def __init__(self):
self.view = appuifw.Listbox(self.items(),self.change_entry)
class ListView(object):
def __init__(self):
self.view = appuifw.Listbox(self.items(),self.change_entry)
+ super(ListView, self).__init__()
def set_title(self, title):
self.title = title
def set_title(self, title):
self.title = title
@@
-196,6
+197,7
@@
class KeyBindingView(object):
def __init__(self):
self.binding_map = {}
def __init__(self):
self.binding_map = {}
+ super(KeyBindingView,self).__init__()
def set_keybindings(self, binding_map):
"""
def set_keybindings(self, binding_map):
"""
@@
-272,7
+274,6
@@
class SearchableListView(WidgetBasedListView):
class EditableListView(SearchableListView,KeyBindingView):
def __init__(self):
class EditableListView(SearchableListView,KeyBindingView):
def __init__(self):
- KeyBindingView.__init__(self)
super(EditableListView, self).__init__()
def key_and_menu_bindings(self,selected_index):
super(EditableListView, self).__init__()
def key_and_menu_bindings(self,selected_index):