X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fmobilegtd.git;a=blobdiff_plain;f=src%2Fgui%2Fgui.py;h=e4b3db05d88086b6aea5f619f31c76aa2384ba34;hp=0247175fc22ee76eb165184427b36aa257f67cd0;hb=02898f8b19ec7cdfdae3f1798b9ea42e3875ce70;hpb=8b301d4e5f3dd8c3cc73ae23a41cd66f629c7625 diff --git a/src/gui/gui.py b/src/gui/gui.py index 0247175..e4b3db0 100644 --- 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) + super(ListView, self).__init__() def set_title(self, title): self.title = title @@ -196,6 +197,7 @@ class KeyBindingView(object): def __init__(self): self.binding_map = {} + super(KeyBindingView,self).__init__() def set_keybindings(self, binding_map): """ @@ -272,7 +274,6 @@ class SearchableListView(WidgetBasedListView): class EditableListView(SearchableListView,KeyBindingView): def __init__(self): - KeyBindingView.__init__(self) super(EditableListView, self).__init__() def key_and_menu_bindings(self,selected_index):