[gimp/gtk3-port: 395/460] 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/460] libgimpwidgets: also move GTK_RESPONSE_CLOSE	buttons to the left
 
- Date: Sun, 20 May 2018 15:44:48 +0000 (UTC)
 
commit 38b76003d32f50e0ac917de4f62b549e32898098
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]