2007-06-16 Don Allingham <don@gramps-project.org>

* src/DbManager.py: add user sorting to manager lists



svn: r8570
This commit is contained in:
Don Allingham 2007-06-17 03:09:26 +00:00
parent 7da9ba3e6a
commit 493dfd0aae
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2007-06-16 Don Allingham <don@gramps-project.org>
* src/DbManager.py: add user sorting to manager lists
2007-06-16 Alex Roitman <shura@gramps-project.org>
* src/GrampsDbUtils/_ReadXML.py (start_url): Correctly parse url type.

View File

@ -76,6 +76,7 @@ NAME_COL = 0
PATH_COL = 1
FILE_COL = 2
DATE_COL = 3
DSORT_COL = 4
OPEN_COL = 5
STOCK_COL = 6
@ -207,11 +208,13 @@ class DbManager:
render.connect('edited', self.__change_name)
self.column = gtk.TreeViewColumn(_('Family tree name'), render,
text=NAME_COL)
self.column.set_sort_column_id(NAME_COL)
self.dblist.append_column(self.column)
# build the last modified cocolumn
render = gtk.CellRendererText()
column = gtk.TreeViewColumn(_('Last modified'), render, text=DATE_COL)
column.set_sort_column_id(DSORT_COL)
self.dblist.append_column(column)
# set the rules hit