* src/DisplayTabs/_GalleryTab.py (GalleryTab.build_interface):
Allow working with pygtk older than 2.8. svn: r7035
This commit is contained in:
parent
672d5aa433
commit
4c828cc0d0
@ -1,4 +1,6 @@
|
|||||||
2006-07-16 Alex Roitman <shura@gramps-project.org>
|
2006-07-16 Alex Roitman <shura@gramps-project.org>
|
||||||
|
* src/DisplayTabs/_GalleryTab.py (GalleryTab.build_interface):
|
||||||
|
Allow working with pygtk older than 2.8.
|
||||||
* src/Filters/Rules/Person/_IsChildOfFilterMatch.py
|
* src/Filters/Rules/Person/_IsChildOfFilterMatch.py
|
||||||
(IsChildOfFilterMatch.init_list): Convert to child_ref.
|
(IsChildOfFilterMatch.init_list): Convert to child_ref.
|
||||||
* src/plugins/Checkpoint.py (Checkpoint.run_tool): Add busy cursor.
|
* src/plugins/Checkpoint.py (Checkpoint.run_tool): Add busy cursor.
|
||||||
|
@ -137,7 +137,11 @@ class GalleryTab(ButtonTab):
|
|||||||
self.iconlist.set_pixbuf_column(0)
|
self.iconlist.set_pixbuf_column(0)
|
||||||
self.iconlist.set_text_column(1)
|
self.iconlist.set_text_column(1)
|
||||||
self.iconlist.set_margin(12)
|
self.iconlist.set_margin(12)
|
||||||
self.iconlist.set_reorderable(True)
|
try:
|
||||||
|
# This is only available for pygtk 2.8
|
||||||
|
self.iconlist.set_reorderable(True)
|
||||||
|
except AttributeError:
|
||||||
|
pass
|
||||||
self.iconlist.set_item_width(125)
|
self.iconlist.set_item_width(125)
|
||||||
self.iconlist.set_spacing(24)
|
self.iconlist.set_spacing(24)
|
||||||
self.iconlist.set_selection_mode(gtk.SELECTION_SINGLE)
|
self.iconlist.set_selection_mode(gtk.SELECTION_SINGLE)
|
||||||
|
Loading…
Reference in New Issue
Block a user