2006-06-21 Zsolt Foldvari <zsolt.foldvari@nokia.com>

* src/DisplayTabs/_GalleryTab.py (GalleryTab.build_interface):
	Properly add icon list.
	* src/Selectors/_BaseSelector.py (BaseSelector.add_columns): Allow
	resize-able columns.



svn: r6942
This commit is contained in:
Alex Roitman 2006-06-21 19:58:49 +00:00
parent 89d0caec30
commit 015e1829b0
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2006-06-21 Zsolt Foldvari <zsolt.foldvari@nokia.com>
* 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 <don@gramps-project.org> 2006-06-21 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: import QuestionDialog * src/DataViews/_PersonView.py: import QuestionDialog
* src/Editors/_EditFamily.py: re-enable disabled blocks after * src/Editors/_EditFamily.py: re-enable disabled blocks after

View File

@ -147,7 +147,7 @@ class GalleryTab(ButtonTab):
scroll = gtk.ScrolledWindow() scroll = gtk.ScrolledWindow()
scroll.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC) scroll.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
scroll.add_with_viewport(self.iconlist) scroll.add(self.iconlist)
self.pack_start(scroll, True) self.pack_start(scroll, True)
def _update_internal_list(self, *obj): def _update_internal_list(self, *obj):

View File

@ -90,6 +90,7 @@ class BaseSelector(ManagedWindow.ManagedWindow):
column = gtk.TreeViewColumn(item[0],self.renderer,markup=ix) column = gtk.TreeViewColumn(item[0],self.renderer,markup=ix)
column.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED) column.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED)
column.set_fixed_width(item[1]) column.set_fixed_width(item[1])
column.set_resizable(True)
tree.append_column(column) tree.append_column(column)
def build_menu_names(self,obj): def build_menu_names(self,obj):