[pybliographer] ui: Use Close button for error dialogs
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pybliographer] ui: Use Close button for error dialogs
- Date: Wed, 28 Mar 2018 23:07:47 +0000 (UTC)
commit 28027800dac013be758389333302c8bc60b6d426
Author: Germán Poo-Caamaño <gpoo gnome org>
Date: Wed Mar 28 16:15:55 2018 -0300
ui: Use Close button for error dialogs
Pyblio/GnomeUI/Utils.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Pyblio/GnomeUI/Utils.py b/Pyblio/GnomeUI/Utils.py
index 5f6c960..e084662 100644
--- a/Pyblio/GnomeUI/Utils.py
+++ b/Pyblio/GnomeUI/Utils.py
@@ -217,7 +217,7 @@ def error_dialog_s(parent, primary, secondary=None):
dialog = gtk.MessageDialog(parent,
gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT,
gtk.MESSAGE_ERROR,
- gtk.BUTTONS_CANCEL, primary)
+ gtk.BUTTONS_CLOSE, primary)
if secondary:
dialog.format_secondary_text(secondary)
dialog.run()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]