[balsa/gtk3] Make the "Close" button use GTK_RESPONSE_CANCEL
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk3] Make the "Close" button use GTK_RESPONSE_CANCEL
- Date: Fri, 10 Apr 2015 16:47:30 +0000 (UTC)
commit 65d38d5cb4b2606e53116e6874f8ad315da0b417
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Fri Apr 10 12:46:53 2015 -0400
Make the "Close" button use GTK_RESPONSE_CANCEL
* src/information-dialog.c (balsa_information_list): make the
"Close" button use GTK_RESPONSE_CANCEL, to move the button
to the left.
ChangeLog | 6 ++++++
src/information-dialog.c | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 03c379b..53b6640 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-04-10 Peter Bloomfield <pbloomfield bellsouth net>
+
+ * src/information-dialog.c (balsa_information_list): make the
+ "Close" button use GTK_RESPONSE_CANCEL, to move the button
+ to the left.
+
2015-04-01 Peter Bloomfield <pbloomfield bellsouth net>
* src/sendmsg-window.c (quote_parts_select_dlg),
diff --git a/src/information-dialog.c b/src/information-dialog.c
index 5b5f57a..8002796 100644
--- a/src/information-dialog.c
+++ b/src/information-dialog.c
@@ -235,14 +235,14 @@ balsa_information_list(GtkWindow *parent, LibBalsaInformationType type,
GTK_DIALOG_DESTROY_WITH_PARENT |
GTK_DIALOG_USE_HEADER_BAR,
_("_Clear"), GTK_RESPONSE_APPLY,
- _("Cl_ose"), GTK_RESPONSE_CLOSE,
+ _("Cl_ose"), GTK_RESPONSE_CANCEL,
NULL);
#if HAVE_MACOSX_DESKTOP
libbalsa_macosx_menu_for_parent(information_dialog, parent);
#endif
/* Default is to close */
gtk_dialog_set_default_response(GTK_DIALOG(information_dialog),
- GTK_RESPONSE_CLOSE);
+ GTK_RESPONSE_CANCEL);
/* Reset the policy gtk_dialog_new makes itself non-resizable */
gtk_window_set_resizable(GTK_WINDOW(information_dialog), TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]