[gimp/gtk3-port: 395/444] libgimpwidgets: also move GTK_RESPONSE_CLOSE buttons to the left
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 395/444] libgimpwidgets: also move GTK_RESPONSE_CLOSE buttons to the left
- Date: Sun, 13 May 2018 20:32:46 +0000 (UTC)
commit 0de9fb17a30ac1a50d31958e757282b953e57b94
Author: Michael Natterer <mitch gimp org>
Date: Thu May 10 18:25:36 2018 +0200
libgimpwidgets: also move GTK_RESPONSE_CLOSE buttons to the left
in GimpDialog's header bar.
libgimpwidgets/gimpdialog.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libgimpwidgets/gimpdialog.c b/libgimpwidgets/gimpdialog.c
index 63c302d..272d1cd 100644
--- a/libgimpwidgets/gimpdialog.c
+++ b/libgimpwidgets/gimpdialog.c
@@ -501,8 +501,9 @@ gimp_dialog_add_button (GimpDialog *dialog,
NULL);
if (use_header_bar &&
- (response_id == GTK_RESPONSE_OK ||
- response_id == GTK_RESPONSE_CANCEL))
+ (response_id == GTK_RESPONSE_OK ||
+ response_id == GTK_RESPONSE_CANCEL ||
+ response_id == GTK_RESPONSE_CLOSE))
{
GtkWidget *header = gtk_dialog_get_header_bar (GTK_DIALOG (dialog));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]