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) self.tagapply.connect('clicked', self.applyTagClicked)
# start the progress indicator # start the progress indicator
self.progress = ProgressMeter(self.title,_('Starting')) self.progress = ProgressMeter(self.title,_('Starting'),
parent=self.window)
# setup the columns # setup the columns
self.model = Gtk.TreeStore( 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 more than 1 person is selected, use a progress indicator
if rows > 1: if rows > 1:
progress = ProgressMeter(self.title,_('Starting')) progress = ProgressMeter(self.title,_('Starting'),
parent=self.window)
progress.set_pass( progress.set_pass(
# translators: leave all/any {...} untranslated # translators: leave all/any {...} untranslated
#TRANS: no singular form needed, as rows is always > 1 #TRANS: no singular form needed, as rows is always > 1

View File

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