From a3864a76df8ec313891f88961a7bc28bdebb8323 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 --- src/EditPlace.py | 4 ++-- src/ImageSelect.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/EditPlace.py b/src/EditPlace.py index 097d76446..d42810d98 100644 --- a/src/EditPlace.py +++ b/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/src/ImageSelect.py b/src/ImageSelect.py index 19b953a5e..722d0a510 100644 --- a/src/ImageSelect.py +++ b/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