* src/Selectors/_SelectPerson.py (SelectPerson.add_columns): allow

the columns to be resizable (bug #788)


svn: r7840
This commit is contained in:
Don Allingham 2006-12-22 23:53:31 +00:00
parent cb9ba78177
commit 5ee6bbe88c
2 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,8 @@
* src/Editors/_EditSource.py (_local_init): Remove extra show() call.
2006-12-22 Don Allingham <don@gramps-project.org>
* src/Selectors/_SelectPerson.py (SelectPerson.add_columns): allow
the columns to be resizable (bug #788)
* src/GrampsDb/_WriteXML.py: fix bookmark handling
* src/plugins/FindDupes.py (Merge.find_potentials): update internal
list on call (bug# 789)

View File

@ -106,16 +106,19 @@ class SelectPerson(ManagedWindow.ManagedWindow):
column = gtk.TreeViewColumn(_('Name'), self.renderer, text=0)
column.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED)
column.set_fixed_width(225)
column.set_resizable(True)
tree.append_column(column)
column = gtk.TreeViewColumn(_('ID'), self.renderer, text=1)
column.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED)
column.set_fixed_width(75)
column.set_resizable(True)
tree.append_column(column)
column = gtk.TreeViewColumn(_('Birth date'), self.renderer, markup=3)
column.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED)
column.set_fixed_width(160)
column.set_resizable(True)
tree.append_column(column)
def select_function(self,store,path,iter,id_list):