GNOME Bugzilla – Bug 764280
[PATCH] opening calendar settings twice results in empty window
Last modified: 2017-04-17 18:20:40 UTC
The change to not use gtk_dialog_run() anymore for the source-dialog results in it being destroyed after first use (gtk_dialog_run stops propagating the delete-event). Either revert the commit or see proposed patch for solution.
Created attachment 324868 [details] [review] source-dialog: Don't destroy on close. Since the change in d5cd6c7fc9fc0dc6e7d22927af983dfc908fe50b , closing the source dialog actually destroyed it and could not be used again. The previously used gtk_dialog_run() handled the delete event in a non-destructive way, implement a similar approach in gcal-source-dialog instead.
Created attachment 324881 [details] [review] source-dialog: Don't destroy 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.
Created attachment 324892 [details] [review] 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.
Attachment 324892 [details] pushed as 12ad480 and 7baaf10 - window.ui: Don't destroy GcalSourceDialog on close.