From 2cb690bde87c90d12c84e11727dac86a8e6d9f79 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 29 Nov 2002 23:45:12 +0000 Subject: [PATCH] Trying to handle gnome_canvas bug svn: r1214 --- gramps2/src/EditPlace.py | 4 ++-- gramps2/src/ImageSelect.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gramps2/src/EditPlace.py b/gramps2/src/EditPlace.py index 097d76446..d42810d98 100644 --- a/gramps2/src/EditPlace.py +++ b/gramps2/src/EditPlace.py @@ -174,9 +174,9 @@ class EditPlace: self.redraw_url_list() self.redraw_location_list() - def close(self): + def close(self,obj): self.glry.close() - self.top.close() + self.top.destroy() def build_columns(self,tree,list): cnum = 0 diff --git a/gramps2/src/ImageSelect.py b/gramps2/src/ImageSelect.py index 19b953a5e..722d0a510 100644 --- a/gramps2/src/ImageSelect.py +++ b/gramps2/src/ImageSelect.py @@ -234,6 +234,7 @@ class Gallery(ImageSelect): self.photo = None def close(self): + pass # self.iconlist.hide() # print self.canvas_list # print self.p_map @@ -371,7 +372,6 @@ class Gallery(ImageSelect): Imlibs. Then add each photo in the place's list of photos to the photolist window.""" - print "load images" self.pos = 0 self.cx = _PAD self.cy = _PAD