From 5ee6bbe88c37089b688efba1a64422aadb7289cf Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 22 Dec 2006 23:53:31 +0000 Subject: [PATCH] * src/Selectors/_SelectPerson.py (SelectPerson.add_columns): allow the columns to be resizable (bug #788) svn: r7840 --- ChangeLog | 2 ++ src/Selectors/_SelectPerson.py | 3 +++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6f045146a..41fc5b77c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,8 @@ * src/Editors/_EditSource.py (_local_init): Remove extra show() call. 2006-12-22 Don Allingham + * 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) diff --git a/src/Selectors/_SelectPerson.py b/src/Selectors/_SelectPerson.py index 9e5586182..c29a33389 100644 --- a/src/Selectors/_SelectPerson.py +++ b/src/Selectors/_SelectPerson.py @@ -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):