From 19f10697d5c25b972d7dcf689c51388426f44f4a Mon Sep 17 00:00:00 2001 From: Yash Singh Date: Mon, 12 Jun 2017 23:09:08 +0530 Subject: [PATCH] utils: set recurrence-dialog modal to toplevel widget Setting the recurrence-dialog modal to 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 --- src/gcal-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gcal-utils.c b/src/gcal-utils.c index 170f8b0e..43397a09 100644 --- a/src/gcal-utils.c +++ b/src/gcal-utils.c @@ -1180,7 +1180,7 @@ ask_recurrence_modification_type (GtkWidget *parent, flags = GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT; *modtype = E_CAL_OBJ_MOD_THIS; - dialog = gtk_message_dialog_new (GTK_WINDOW (parent), + dialog = gtk_message_dialog_new (GTK_WINDOW (gtk_widget_get_toplevel (parent)), flags, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE,