* src/EditSourceRef.py (__init__): Typos.
* src/DisplayTabs.py (GalleryTab.add_button_clicked): Typos. svn: r5970
This commit is contained in:
parent
13d4d27af9
commit
69c5b7d43b
@ -1,3 +1,7 @@
|
||||
2006-02-22 Alex Roitman <shura@gramps-project.org>
|
||||
* src/EditSourceRef.py (__init__): Typos.
|
||||
* src/DisplayTabs.py (GalleryTab.add_button_clicked): Typos.
|
||||
|
||||
2006-02-21 Don Allingham <don@gramps-project.org>
|
||||
* src/EditMediaRef.py: added
|
||||
* src/EditPerson.py: call EditMediaRef
|
||||
|
@ -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):
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user