Nick_H patch to participants in selectors, fixes a bug too

2773: Primary participant(s) in Events View


svn: r13117
This commit is contained in:
Benny Malengier
2009-08-24 22:56:12 +00:00
parent 8a5113375e
commit f1352ee2ee
9 changed files with 54 additions and 95 deletions

View File

@@ -64,10 +64,10 @@ class SelectNote(BaseSelector):
def get_column_titles(self):
return [
(_('Preview'), 350, BaseSelector.TEXT),
(_('ID'), 75, BaseSelector.TEXT),
(_('Type'), 100, BaseSelector.TEXT),
(_('Marker'), 100, BaseSelector.TEXT)
(_('Preview'), 350, BaseSelector.TEXT, 0),
(_('ID'), 75, BaseSelector.TEXT, 1),
(_('Type'), 100, BaseSelector.TEXT, 2),
(_('Marker'), 100, BaseSelector.TEXT, 3)
]
def get_from_handle_func(self):
@@ -75,13 +75,7 @@ class SelectNote(BaseSelector):
def get_handle_column(self):
return 4
def column_order(self):
"""
returns a tuple indicating the column order
"""
return self.db.get_note_column_order()
def column_view_names(self):
"""
Get correct column view names on which model is based