8128: GtkDialog mapped without a transient parent (*.gpr.py)
This commit is contained in:
parent
84047260c6
commit
645bef8f5d
@ -422,9 +422,13 @@ else:
|
||||
message = _("Image metadata functionality will not be available.\n"
|
||||
"To build it for Gramps see "
|
||||
"%(gramps_wiki_build_gexiv2_url)s" % gexiv2_dict )
|
||||
MessageHideDialog(title, message,
|
||||
'interface.ignore-gexiv2',
|
||||
parent=uistate.window)
|
||||
if uistate:
|
||||
MessageHideDialog(title, message,
|
||||
'interface.ignore-gexiv2',
|
||||
parent=uistate.window)
|
||||
else:
|
||||
MessageHideDialog(title, message,
|
||||
'interface.ignore-gexiv2')
|
||||
|
||||
register(GRAMPLET,
|
||||
id="Person Residence",
|
||||
|
@ -72,9 +72,13 @@ if not OSMGPSMAP:
|
||||
MESSAGE = _("Geography functionality will not be available.\n"
|
||||
"To build it for Gramps see "
|
||||
"%(gramps_wiki_build_osmgps_url)s") % OSMGPS_DICT
|
||||
MessageHideDialog(TITLE, MESSAGE,
|
||||
'interface.ignore-osmgpsmap',
|
||||
parent=uistate.window)
|
||||
if uistate:
|
||||
MessageHideDialog(TITLE, MESSAGE,
|
||||
'interface.ignore-osmgpsmap',
|
||||
parent=uistate.window)
|
||||
else:
|
||||
MessageHideDialog(TITLE, MESSAGE,
|
||||
'interface.ignore-osmgpsmap')
|
||||
else:
|
||||
# Load the view only if osmgpsmap library is present.
|
||||
register(VIEW,
|
||||
|
Loading…
Reference in New Issue
Block a user