[geary] TernaryConfirmationDialog: Fix inversion between cancel and ternary action labels



commit 178817e5e66755c12e76c94060cb7cdfd094ed84
Author: Colin Vidal <colin cvidal org>
Date:   Thu Oct 20 10:21:12 2016 +0200

    TernaryConfirmationDialog: Fix inversion between cancel and ternary action labels
    
    Hi Michael,
    
    When you write a draft and close it (in embed or detached window),
    label of buttons "Discard" and "Close" are inverted. This patch fix
    it.
    
    Thanks,
    
    Colin

 src/client/dialogs/alert-dialog.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/client/dialogs/alert-dialog.vala b/src/client/dialogs/alert-dialog.vala
index fa48325..6acaa44 100644
--- a/src/client/dialogs/alert-dialog.vala
+++ b/src/client/dialogs/alert-dialog.vala
@@ -65,7 +65,7 @@ class ConfirmationDialog : AlertDialog {
 class TernaryConfirmationDialog : AlertDialog {
     public TernaryConfirmationDialog(Gtk.Window? parent, string title, string? description,
         string? ok_button, string? tertiary_button, Gtk.ResponseType tertiary_response_type, string? 
ok_action_type = "") {
-        base (parent, Gtk.MessageType.WARNING, title, description, ok_button, tertiary_button, Stock._CANCEL,
+        base (parent, Gtk.MessageType.WARNING, title, description, ok_button, Stock._CANCEL, tertiary_button,
             tertiary_response_type, ok_action_type);
     }
 }


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