8128: GtkDialog mapped without a transient parent
partial fix for: "Change Event Types" and "Fix Capitalization of Family Names" plugins
This commit is contained in:
parent
6a47c04228
commit
02c239c402
@ -3,7 +3,7 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<requires lib="gtk+" version="3.10"/>
|
<requires lib="gtk+" version="3.10"/>
|
||||||
<object class="GtkWindow" id="changenames">
|
<object class="GtkWindow" id="changenames">
|
||||||
<property name="visible">True</property>
|
<property name="visible">False</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">450</property>
|
<property name="default_height">450</property>
|
||||||
|
@ -82,7 +82,8 @@ class ChangeNames(tool.BatchTool, ManagedWindow):
|
|||||||
if self.fail:
|
if self.fail:
|
||||||
return
|
return
|
||||||
|
|
||||||
self.progress = ProgressMeter(_('Checking Family Names'),'')
|
self.progress = ProgressMeter(_('Checking Family Names'),'',
|
||||||
|
parent=uistate.window)
|
||||||
self.progress.set_pass(_('Searching family names'),
|
self.progress.set_pass(_('Searching family names'),
|
||||||
len(self.db.get_surname_list()))
|
len(self.db.get_surname_list()))
|
||||||
self.name_list = []
|
self.name_list = []
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<requires lib="gtk+" version="3.10"/>
|
<requires lib="gtk+" version="3.10"/>
|
||||||
<object class="GtkDialog" id="changetypes">
|
<object class="GtkDialog" id="changetypes">
|
||||||
<property name="visible">True</property>
|
<property name="visible">False</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="type_hint">dialog</property>
|
<property name="type_hint">dialog</property>
|
||||||
<signal name="delete-event" handler="on_delete_event" swapped="no"/>
|
<signal name="delete-event" handler="on_delete_event" swapped="no"/>
|
||||||
|
@ -140,7 +140,7 @@ class ChangeTypes(tool.BatchTool, ManagedWindow):
|
|||||||
the_type.set(self.auto2.get_child().get_text())
|
the_type.set(self.auto2.get_child().get_text())
|
||||||
self.options.handler.options_dict['totype'] = the_type.xml_str()
|
self.options.handler.options_dict['totype'] = the_type.xml_str()
|
||||||
|
|
||||||
self.run_tool(self.window)
|
self.run_tool(self.parent_window)
|
||||||
|
|
||||||
# Save options
|
# Save options
|
||||||
self.options.handler.save_options()
|
self.options.handler.save_options()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user