From 015e1829b0be8e1ed4ae7acab46d6c4e6002248e Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Wed, 21 Jun 2006 19:58:49 +0000 Subject: [PATCH] 2006-06-21 Zsolt Foldvari * src/DisplayTabs/_GalleryTab.py (GalleryTab.build_interface): Properly add icon list. * src/Selectors/_BaseSelector.py (BaseSelector.add_columns): Allow resize-able columns. svn: r6942 --- gramps2/ChangeLog | 6 ++++++ gramps2/src/DisplayTabs/_GalleryTab.py | 2 +- gramps2/src/Selectors/_BaseSelector.py | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index fe33a270e..bb96bfdbe 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,9 @@ +2006-06-21 Zsolt Foldvari + * src/DisplayTabs/_GalleryTab.py (GalleryTab.build_interface): + Properly add icon list. + * src/Selectors/_BaseSelector.py (BaseSelector.add_columns): Allow + resize-able columns. + 2006-06-21 Don Allingham * src/DataViews/_PersonView.py: import QuestionDialog * src/Editors/_EditFamily.py: re-enable disabled blocks after diff --git a/gramps2/src/DisplayTabs/_GalleryTab.py b/gramps2/src/DisplayTabs/_GalleryTab.py index d2963c2a0..5fc8834ff 100644 --- a/gramps2/src/DisplayTabs/_GalleryTab.py +++ b/gramps2/src/DisplayTabs/_GalleryTab.py @@ -147,7 +147,7 @@ class GalleryTab(ButtonTab): scroll = gtk.ScrolledWindow() scroll.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC) - scroll.add_with_viewport(self.iconlist) + scroll.add(self.iconlist) self.pack_start(scroll, True) def _update_internal_list(self, *obj): diff --git a/gramps2/src/Selectors/_BaseSelector.py b/gramps2/src/Selectors/_BaseSelector.py index c9ef85b7c..7d2228045 100644 --- a/gramps2/src/Selectors/_BaseSelector.py +++ b/gramps2/src/Selectors/_BaseSelector.py @@ -90,6 +90,7 @@ class BaseSelector(ManagedWindow.ManagedWindow): column = gtk.TreeViewColumn(item[0],self.renderer,markup=ix) column.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED) column.set_fixed_width(item[1]) + column.set_resizable(True) tree.append_column(column) def build_menu_names(self,obj):