From 82b1c17360adbf7c394f0e18bdce5809b9363082 Mon Sep 17 00:00:00 2001 From: Gary Burton Date: Tue, 2 Mar 2010 21:56:35 +0000 Subject: [PATCH] Do not explicitly set an item width as it causes excessive whitespace around thumbnails when the image description becomes longer. svn: r14588 --- src/gui/editors/displaytabs/gallerytab.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui/editors/displaytabs/gallerytab.py b/src/gui/editors/displaytabs/gallerytab.py index 538e13b29..2e2c79f2c 100644 --- a/src/gui/editors/displaytabs/gallerytab.py +++ b/src/gui/editors/displaytabs/gallerytab.py @@ -2,7 +2,7 @@ # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2000-2006 Donald N. Allingham -# Copyright (C) 2009 Gary Burton +# Copyright (C) 2009-2010 Gary Burton # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -202,7 +202,6 @@ class GalleryTab(ButtonTab, DbGUIElement): self.iconlist.set_margin(12) self.iconlist.set_spacing(24) self.iconlist.set_reorderable(True) - self.iconlist.set_item_width(item_width) self.iconlist.set_selection_mode(gtk.SELECTION_SINGLE) # connect the signals