From 69c5b7d43bd4ca7ddb46f0fc449944a64db1ccf8 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Wed, 22 Feb 2006 19:11:36 +0000 Subject: [PATCH] * src/EditSourceRef.py (__init__): Typos. * src/DisplayTabs.py (GalleryTab.add_button_clicked): Typos. svn: r5970 --- gramps2/ChangeLog | 4 ++++ gramps2/src/DisplayTabs.py | 4 ++-- gramps2/src/EditSourceRef.py | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 6c159dfc3..7e350c994 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2006-02-22 Alex Roitman + * src/EditSourceRef.py (__init__): Typos. + * src/DisplayTabs.py (GalleryTab.add_button_clicked): Typos. + 2006-02-21 Don Allingham * src/EditMediaRef.py: added * src/EditPerson.py: call EditMediaRef diff --git a/gramps2/src/DisplayTabs.py b/gramps2/src/DisplayTabs.py index 8ab3212b4..009b8547b 100644 --- a/gramps2/src/DisplayTabs.py +++ b/gramps2/src/DisplayTabs.py @@ -1185,8 +1185,8 @@ class GalleryTab(ButtonTab): from EditMediaRef import EditMediaRef sref = RelLib.MediaRef() - src = RelLib.Media() - EditSourceRef(self.dbstate, self.uistate, self.track, + src = RelLib.MediaObject() + EditMediaRef(self.dbstate, self.uistate, self.track, src, sref, self.add_callback) def add_callback(self,name): diff --git a/gramps2/src/EditSourceRef.py b/gramps2/src/EditSourceRef.py index ef4f798e9..8f2979f9a 100644 --- a/gramps2/src/EditSourceRef.py +++ b/gramps2/src/EditSourceRef.py @@ -92,9 +92,9 @@ class EditSourceRef(DisplayState.ManagedWindow): warning = self.top.get_widget("warn_box") if self.source.handle: - self.warning.show_all() + warning.show_all() else: - self.warning.hide() + warning.hide() if self.source: self.source_added = False