utils: set recurrence-dialog transient for toplevel widget

Setting the recurrence-dialog transient for toplevel widget
allows us to take care of
ask_recurrence_modification_type() calls in the
various views.

https://bugzilla.gnome.org/show_bug.cgi?id=782755
This commit is contained in:
Yash Singh
2017-06-14 14:44:10 -03:00
committed by Georges Basile Stavracas Neto
parent a93224b125
commit a7add6d6be
+1 -1
View File
@@ -1200,7 +1200,7 @@ ask_recurrence_modification_type (GtkWidget *parent,
gtk_dialog_add_button (GTK_DIALOG (dialog), _("_All events"), GTK_RESPONSE_YES);
gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (parent));
gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (gtk_widget_get_toplevel (parent)));
result = gtk_dialog_run (GTK_DIALOG (dialog));