From 02c239c402a6d2a949497f3ff36e6822c2169052 Mon Sep 17 00:00:00 2001 From: Josip Date: Sun, 17 Apr 2016 15:03:32 +0200 Subject: [PATCH] 8128: GtkDialog mapped without a transient parent partial fix for: "Change Event Types" and "Fix Capitalization of Family Names" plugins --- gramps/plugins/tool/changenames.glade | 2 +- gramps/plugins/tool/changenames.py | 3 ++- gramps/plugins/tool/changetypes.glade | 2 +- gramps/plugins/tool/changetypes.py | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gramps/plugins/tool/changenames.glade b/gramps/plugins/tool/changenames.glade index 537a6909a..e89e42fa5 100644 --- a/gramps/plugins/tool/changenames.glade +++ b/gramps/plugins/tool/changenames.glade @@ -3,7 +3,7 @@ - True + False False 500 450 diff --git a/gramps/plugins/tool/changenames.py b/gramps/plugins/tool/changenames.py index 097a5799d..534dc5094 100644 --- a/gramps/plugins/tool/changenames.py +++ b/gramps/plugins/tool/changenames.py @@ -82,7 +82,8 @@ class ChangeNames(tool.BatchTool, ManagedWindow): if self.fail: return - self.progress = ProgressMeter(_('Checking Family Names'),'') + self.progress = ProgressMeter(_('Checking Family Names'),'', + parent=uistate.window) self.progress.set_pass(_('Searching family names'), len(self.db.get_surname_list())) self.name_list = [] diff --git a/gramps/plugins/tool/changetypes.glade b/gramps/plugins/tool/changetypes.glade index 736a285a8..e33ba1abe 100644 --- a/gramps/plugins/tool/changetypes.glade +++ b/gramps/plugins/tool/changetypes.glade @@ -3,7 +3,7 @@ - True + False False dialog diff --git a/gramps/plugins/tool/changetypes.py b/gramps/plugins/tool/changetypes.py index 95bf22888..74a5beb86 100644 --- a/gramps/plugins/tool/changetypes.py +++ b/gramps/plugins/tool/changetypes.py @@ -140,7 +140,7 @@ class ChangeTypes(tool.BatchTool, ManagedWindow): the_type.set(self.auto2.get_child().get_text()) self.options.handler.options_dict['totype'] = the_type.xml_str() - self.run_tool(self.window) + self.run_tool(self.parent_window) # Save options self.options.handler.save_options()