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:
parent
7da9ba3e6a
commit
493dfd0aae
@ -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>
|
2007-06-16 Alex Roitman <shura@gramps-project.org>
|
||||||
* src/GrampsDbUtils/_ReadXML.py (start_url): Correctly parse url type.
|
* src/GrampsDbUtils/_ReadXML.py (start_url): Correctly parse url type.
|
||||||
|
|
||||||
|
@ -76,6 +76,7 @@ NAME_COL = 0
|
|||||||
PATH_COL = 1
|
PATH_COL = 1
|
||||||
FILE_COL = 2
|
FILE_COL = 2
|
||||||
DATE_COL = 3
|
DATE_COL = 3
|
||||||
|
DSORT_COL = 4
|
||||||
OPEN_COL = 5
|
OPEN_COL = 5
|
||||||
STOCK_COL = 6
|
STOCK_COL = 6
|
||||||
|
|
||||||
@ -207,11 +208,13 @@ class DbManager:
|
|||||||
render.connect('edited', self.__change_name)
|
render.connect('edited', self.__change_name)
|
||||||
self.column = gtk.TreeViewColumn(_('Family tree name'), render,
|
self.column = gtk.TreeViewColumn(_('Family tree name'), render,
|
||||||
text=NAME_COL)
|
text=NAME_COL)
|
||||||
|
self.column.set_sort_column_id(NAME_COL)
|
||||||
self.dblist.append_column(self.column)
|
self.dblist.append_column(self.column)
|
||||||
|
|
||||||
# build the last modified cocolumn
|
# build the last modified cocolumn
|
||||||
render = gtk.CellRendererText()
|
render = gtk.CellRendererText()
|
||||||
column = gtk.TreeViewColumn(_('Last modified'), render, text=DATE_COL)
|
column = gtk.TreeViewColumn(_('Last modified'), render, text=DATE_COL)
|
||||||
|
column.set_sort_column_id(DSORT_COL)
|
||||||
self.dblist.append_column(column)
|
self.dblist.append_column(column)
|
||||||
|
|
||||||
# set the rules hit
|
# set the rules hit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user