[gnome-calendar] utils: set recurrence-dialog modal to toplevel widget
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] utils: set recurrence-dialog modal to toplevel widget
- Date: Mon, 12 Jun 2017 17:48:36 +0000 (UTC)
commit 19f10697d5c25b972d7dcf689c51388426f44f4a
Author: Yash Singh <yashdev10p gmail com>
Date: Mon Jun 12 23:09:08 2017 +0530
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-utils.c b/src/gcal-utils.c
index 170f8b0..43397a0 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]