[recipes] printing: Make the error dialog modal
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] printing: Make the error dialog modal
- Date: Tue, 7 Feb 2017 20:59:26 +0000 (UTC)
commit 3a827864442ed8947c6eaa360a6a269bd22dcb49
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Feb 7 12:35:31 2017 -0500
printing: Make the error dialog modal
This makes it properly centered on the main window.
src/gr-recipe-printer.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gr-recipe-printer.c b/src/gr-recipe-printer.c
index 99ca72e..d149f90 100644
--- a/src/gr-recipe-printer.c
+++ b/src/gr-recipe-printer.c
@@ -456,6 +456,7 @@ print_done (GtkPrintOperation *operation,
gtk_print_operation_get_error (operation, &error);
error_dialog = gtk_message_dialog_new (GTK_WINDOW (printer->window),
+ GTK_DIALOG_MODAL |
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]