window.ui: Don't destroy GcalSourceDialog on close.

Since the change in d5cd6c7fc9 closing
the source dialog actually destroyed it and could not be used again.

Use gtk_widget_hide_on_delete to handle the delete-event.

https://bugzilla.gnome.org/show_bug.cgi?id=764280
This commit is contained in:
fosero
2016-04-07 18:37:17 -03:00
committed by Georges Basile Stavracas Neto
parent 0fd766edf5
commit 12ad480672
+1
View File
@@ -343,6 +343,7 @@
<object class="GcalSourceDialog" id="source_dialog">
<property name="visible">False</property>
<property name="transient_for">GcalWindow</property>
<signal name="delete-event" handler="gtk_widget_hide_on_delete" object="GcalWindow" swapped="no" />
</object>
<object class="GcalEditDialog" id="edit_dialog">
<property name="visible">False</property>