7309: GtkDialog mapped without a transient parent

This commit is contained in:
SNoiraud 2016-12-06 03:02:43 +01:00
parent 6ab5a22292
commit 66a3dd6050

View File

@ -345,7 +345,7 @@ class NavigationView(PageView):
"""
A dialog to move to a Gramps ID entered by the user.
"""
dialog = Gtk.Dialog(_('Jump to by Gramps ID'))
dialog = Gtk.Dialog(_('Jump to by Gramps ID'), self.uistate.window)
dialog.set_border_width(12)
label = Gtk.Label(label='<span weight="bold" size="larger">%s</span>' %
_('Jump to by Gramps ID'))