* src/DataViews/_MediaView.py (MediaView.add): Fix call to AddMedia

svn: r6492
This commit is contained in:
Don Allingham 2006-04-28 23:13:15 +00:00
parent 835154caba
commit 147fec220a
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
2006-04-28 Don Allingham <don@gramps-project.org>
* 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

View File

@ -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):