[gnome-calendar] utils: set recurrence-dialog transient for toplevel widget
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] utils: set recurrence-dialog transient for toplevel widget
- Date: Wed, 14 Jun 2017 17:54:57 +0000 (UTC)
commit a7add6d6be6f211ef59956b5aa3fdf70b725e4df
Author: Yash Singh <yashdev10p gmail com>
Date: Wed Jun 14 01:20:13 2017 +0530
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
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 43397a0..a26a3bc 100644
--- a/src/gcal-utils.c
+++ b/src/gcal-utils.c
@@ -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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]