From 289bd8bdc5758de52b24a30a4befac5c4574094f Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 28 Apr 2006 23:13:15 +0000 Subject: [PATCH] * src/DataViews/_MediaView.py (MediaView.add): Fix call to AddMedia svn: r6492 --- ChangeLog | 1 + src/DataViews/_MediaView.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cc4d990df..3c11d196d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ 2006-04-28 Don Allingham + * src/DataViews/_MediaView.py (MediaView.add): Fix call to AddMedia * src/ViewManager.py: add ScratchPad to the View menu * src/Editors/_EditFamily.py: Fix tooltips * src/glade/gramps.glade: remove predefined tooltips diff --git a/src/DataViews/_MediaView.py b/src/DataViews/_MediaView.py index bcba1e39e..2d6101e7e 100644 --- a/src/DataViews/_MediaView.py +++ b/src/DataViews/_MediaView.py @@ -165,7 +165,7 @@ class MediaView(PageView.ListView): def add(self,obj): """Add a new media object to the media list""" import AddMedia - am = AddMedia.AddMediaObject(self.dbstate.db) + am = AddMedia.AddMediaObject(self.dbstate, self.uistate, []) am.run() def remove(self,obj):