[gnome-calendar] window.ui: Don't destroy GcalSourceDialog on close.



commit 12ad4806729e61f8bce4a43f90fbdedb6566886c
Author: fosero <fosero users noreply github com>
Date:   Mon Mar 28 18:10:00 2016 +0200

    window.ui: Don't destroy GcalSourceDialog on close.
    
    Since the change in d5cd6c7fc9fc0dc6e7d22927af983dfc908fe50b 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

 data/ui/window.ui |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/data/ui/window.ui b/data/ui/window.ui
index 07b8841..19b995e 100644
--- a/data/ui/window.ui
+++ b/data/ui/window.ui
@@ -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>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]