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
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
0d05cc2bfc
commit
19f10697d5
+1
-1
@@ -1180,7 +1180,7 @@ ask_recurrence_modification_type (GtkWidget *parent,
|
|||||||
flags = GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT;
|
flags = GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT;
|
||||||
*modtype = E_CAL_OBJ_MOD_THIS;
|
*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,
|
flags,
|
||||||
GTK_MESSAGE_QUESTION,
|
GTK_MESSAGE_QUESTION,
|
||||||
GTK_BUTTONS_NONE,
|
GTK_BUTTONS_NONE,
|
||||||
|
|||||||
Reference in New Issue
Block a user