[Geary] [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-)

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);
     }
 }
-- 
2.7.4



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