From d0c8fd056b0bb2001b5350da4964563b129cb016 Mon Sep 17 00:00:00 2001 From: Josip Date: Sat, 20 Jun 2015 03:57:54 +0200 Subject: [PATCH] Set parent of ProgressMeter --- gramps/plugins/tool/notrelated.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gramps/plugins/tool/notrelated.py b/gramps/plugins/tool/notrelated.py index cbc3b1f8a..8a2c0ed0e 100644 --- a/gramps/plugins/tool/notrelated.py +++ b/gramps/plugins/tool/notrelated.py @@ -107,7 +107,8 @@ class NotRelated(tool.ActivePersonTool, ManagedWindow) : self.tagapply.connect('clicked', self.applyTagClicked) # start the progress indicator - self.progress = ProgressMeter(self.title,_('Starting')) + self.progress = ProgressMeter(self.title,_('Starting'), + parent=self.window) # setup the columns self.model = Gtk.TreeStore( @@ -251,7 +252,8 @@ class NotRelated(tool.ActivePersonTool, ManagedWindow) : # if more than 1 person is selected, use a progress indicator if rows > 1: - progress = ProgressMeter(self.title,_('Starting')) + progress = ProgressMeter(self.title,_('Starting'), + parent=self.window) progress.set_pass( # translators: leave all/any {...} untranslated #TRANS: no singular form needed, as rows is always > 1