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:
committed by
Georges Basile Stavracas Neto
parent
a93224b125
commit
a7add6d6be
+1
-1
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user