[gimp] Bug 768736 - Button order differs in "Quit GIMP" and "Close View"...



commit 4ea518fee3e95b62fdfcf6f367ddc06eac4e9da9
Author: Michael Natterer <mitch gimp org>
Date:   Sun Jul 24 23:55:35 2016 +0200

    Bug 768736 - Button order differs in "Quit GIMP" and "Close View"...
    
    ...dialogs with modified images
    
    Move the "Discard Changes" button to the right (affirmative) position
    in gimp_display_shell_close_dialog().

 app/display/gimpdisplayshell-close.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-close.c b/app/display/gimpdisplayshell-close.c
index 554b745..6c37a58 100644
--- a/app/display/gimpdisplayshell-close.c
+++ b/app/display/gimpdisplayshell-close.c
@@ -176,12 +176,12 @@ gimp_display_shell_close_dialog (GimpDisplayShell *shell,
   g_free (title);
 
   gtk_dialog_add_buttons (GTK_DIALOG (dialog),
-                          _("_Discard Changes"), GTK_RESPONSE_CLOSE,
-                          GTK_STOCK_CANCEL,      GTK_RESPONSE_CANCEL,
                           (file ?
                            GTK_STOCK_SAVE :
                            GTK_STOCK_SAVE_AS),   RESPONSE_SAVE,
-                          NULL);
+                          GTK_STOCK_CANCEL,      GTK_RESPONSE_CANCEL,
+                          _("_Discard Changes"), GTK_RESPONSE_CLOSE,
+                         NULL);
 
   gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CANCEL);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]