3655: last modified timestamp changes everytime a tree is accessed

svn: r14887
This commit is contained in:
Benny Malengier 2010-03-21 09:37:10 +00:00
parent c1938a8dfb
commit 739a0f0f43

View File

@ -255,7 +255,8 @@ class DbManager(CLIDbManager):
'edited' signal, so that we can change the name when the user changes 'edited' signal, so that we can change the name when the user changes
the column. the column.
The last modified column simply displays the last modification time. The last accessed column simply displays the last time famtree was
opened.
""" """
# build the database name column # build the database name column
@ -278,9 +279,9 @@ class DbManager(CLIDbManager):
stock_id=STOCK_COL) stock_id=STOCK_COL)
self.dblist.append_column(icon_column) self.dblist.append_column(icon_column)
# build the last modified column # build the last accessed column
render = gtk.CellRendererText() render = gtk.CellRendererText()
column = gtk.TreeViewColumn(_('Last modified'), render, text=DATE_COL) column = gtk.TreeViewColumn(_('Last accessed'), render, text=DATE_COL)
column.set_sort_column_id(DSORT_COL) column.set_sort_column_id(DSORT_COL)
self.dblist.append_column(column) self.dblist.append_column(column)