Commit 1e63d94a authored by Matthias Clasen's avatar Matthias Clasen

widget-factory: Avoid a crash

We want to be able to show the dialogs more than once, so just
hide them on delete.
parent 7aadd6fd
......@@ -2732,6 +2732,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
<property name="text" translatable="yes">Do something?</property>
<property name="secondary-text" translatable="yes">If you do something,
bad things might happen.</property>
<signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
<child type="action">
<object class="GtkButton" id="cancel_info_dialog">
<property name="visible">True</property>
......@@ -2754,6 +2755,7 @@ bad things might happen.</property>
<property name="modal">True</property>
<property name="use-header-bar">1</property>
<property name="title" translatable="yes">Action</property>
<signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
<child internal-child="vbox">
<object class="GtkBox">
<child>
......@@ -2789,6 +2791,7 @@ bad things might happen.</property>
<property name="modal">True</property>
<property name="use-header-bar">1</property>
<property name="title" translatable="yes">Properties</property>
<signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
<child internal-child="vbox">
<object class="GtkBox">
<child>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment