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"
|
message = _("Image metadata functionality will not be available.\n"
|
||||||
"To build it for Gramps see "
|
"To build it for Gramps see "
|
||||||
"%(gramps_wiki_build_gexiv2_url)s" % gexiv2_dict )
|
"%(gramps_wiki_build_gexiv2_url)s" % gexiv2_dict )
|
||||||
|
if uistate:
|
||||||
MessageHideDialog(title, message,
|
MessageHideDialog(title, message,
|
||||||
'interface.ignore-gexiv2',
|
'interface.ignore-gexiv2',
|
||||||
parent=uistate.window)
|
parent=uistate.window)
|
||||||
|
else:
|
||||||
|
MessageHideDialog(title, message,
|
||||||
|
'interface.ignore-gexiv2')
|
||||||
|
|
||||||
register(GRAMPLET,
|
register(GRAMPLET,
|
||||||
id="Person Residence",
|
id="Person Residence",
|
||||||
|
@ -72,9 +72,13 @@ if not OSMGPSMAP:
|
|||||||
MESSAGE = _("Geography functionality will not be available.\n"
|
MESSAGE = _("Geography functionality will not be available.\n"
|
||||||
"To build it for Gramps see "
|
"To build it for Gramps see "
|
||||||
"%(gramps_wiki_build_osmgps_url)s") % OSMGPS_DICT
|
"%(gramps_wiki_build_osmgps_url)s") % OSMGPS_DICT
|
||||||
|
if uistate:
|
||||||
MessageHideDialog(TITLE, MESSAGE,
|
MessageHideDialog(TITLE, MESSAGE,
|
||||||
'interface.ignore-osmgpsmap',
|
'interface.ignore-osmgpsmap',
|
||||||
parent=uistate.window)
|
parent=uistate.window)
|
||||||
|
else:
|
||||||
|
MessageHideDialog(TITLE, MESSAGE,
|
||||||
|
'interface.ignore-osmgpsmap')
|
||||||
else:
|
else:
|
||||||
# Load the view only if osmgpsmap library is present.
|
# Load the view only if osmgpsmap library is present.
|
||||||
register(VIEW,
|
register(VIEW,
|
||||||
|
Loading…
Reference in New Issue
Block a user