* src/EditSourceRef.py (__init__): Typos.
* src/DisplayTabs.py (GalleryTab.add_button_clicked): Typos. svn: r5970
This commit is contained in:
parent
14c02180ad
commit
7c6a859323
@ -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>
|
2006-02-21 Don Allingham <don@gramps-project.org>
|
||||||
* src/EditMediaRef.py: added
|
* src/EditMediaRef.py: added
|
||||||
* src/EditPerson.py: call EditMediaRef
|
* src/EditPerson.py: call EditMediaRef
|
||||||
|
@ -1185,8 +1185,8 @@ class GalleryTab(ButtonTab):
|
|||||||
from EditMediaRef import EditMediaRef
|
from EditMediaRef import EditMediaRef
|
||||||
|
|
||||||
sref = RelLib.MediaRef()
|
sref = RelLib.MediaRef()
|
||||||
src = RelLib.Media()
|
src = RelLib.MediaObject()
|
||||||
EditSourceRef(self.dbstate, self.uistate, self.track,
|
EditMediaRef(self.dbstate, self.uistate, self.track,
|
||||||
src, sref, self.add_callback)
|
src, sref, self.add_callback)
|
||||||
|
|
||||||
def add_callback(self,name):
|
def add_callback(self,name):
|
||||||
|
@ -92,9 +92,9 @@ class EditSourceRef(DisplayState.ManagedWindow):
|
|||||||
|
|
||||||
warning = self.top.get_widget("warn_box")
|
warning = self.top.get_widget("warn_box")
|
||||||
if self.source.handle:
|
if self.source.handle:
|
||||||
self.warning.show_all()
|
warning.show_all()
|
||||||
else:
|
else:
|
||||||
self.warning.hide()
|
warning.hide()
|
||||||
|
|
||||||
if self.source:
|
if self.source:
|
||||||
self.source_added = False
|
self.source_added = False
|
||||||
|
Loading…
Reference in New Issue
Block a user