Re: [Geary] [PATCH] TernaryConfirmationDialog: Fix inversion between cancel and ternary action labels
- From: Michael Gratton <mike vee net>
- To: Colin Vidal <colin cvidal org>
- Cc: geary-list gnome org
- Subject: Re: [Geary] [PATCH] TernaryConfirmationDialog: Fix inversion between cancel and ternary action labels
- Date: Fri, 21 Oct 2016 00:07:17 +1100
Hey Colin,
Thanks, I just pushed this to master as commit 178817e.
//Mike
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
On Thu, Oct 20, 2016 at 7:21 PM, Colin Vidal <colin cvidal org> wrote:
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]