fix transient parent of few dialogs

This commit is contained in:
Josip 2015-06-20 15:55:08 +02:00
parent 5a752205b3
commit 56f867d783
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -3,7 +3,6 @@
<interface>
<requires lib="gtk+" version="3.10"/>
<object class="GtkDialog" id="removeunused">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="default_width">500</property>
<property name="default_height">300</property>