2008-01-06 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DataViews/MyGrampsView.py (MyGrampsView.clear_gadgets): Protect on re-columning from gadgets that have been removed svn: r9723
This commit is contained in:
parent
9664842702
commit
c4b215b3f0
@ -1,3 +1,7 @@
|
|||||||
|
2008-01-06 Douglas S. Blank <dblank@cs.brynmawr.edu>
|
||||||
|
* src/DataViews/MyGrampsView.py (MyGrampsView.clear_gadgets):
|
||||||
|
Protect on re-columning from gadgets that have been removed
|
||||||
|
|
||||||
2008-01-06 Benny Malengier <benny.malengier@gramps-project.org>
|
2008-01-06 Benny Malengier <benny.malengier@gramps-project.org>
|
||||||
* src/DataViews/MediaView.py:
|
* src/DataViews/MediaView.py:
|
||||||
* src/DataViews/RepositoryView.py:
|
* src/DataViews/RepositoryView.py:
|
||||||
|
@ -590,6 +590,7 @@ class MyGrampsView(PageView.PageView):
|
|||||||
gadgets = [g for g in self.gadget_map.values() if g != None]
|
gadgets = [g for g in self.gadget_map.values() if g != None]
|
||||||
for gadget in gadgets:
|
for gadget in gadgets:
|
||||||
column = gadget.mainframe.get_parent()
|
column = gadget.mainframe.get_parent()
|
||||||
|
if column:
|
||||||
column.remove(gadget.mainframe)
|
column.remove(gadget.mainframe)
|
||||||
|
|
||||||
def place_gadgets(self):
|
def place_gadgets(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user