aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/src/contact_details_dialog.vala
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2018-11-10 17:24:48 +0100
committerfiaxh <git@mx.ax.lt>2018-11-10 17:24:48 +0100
commit7e6668d283194538d53a3b04708807564e591e22 (patch)
tree543dcc031e766b5871f62376e5f889c24c7c7d81 /plugins/omemo/src/contact_details_dialog.vala
parent214906e1a527e618852fcef20e3d941ec3285301 (diff)
downloaddino-7e6668d283194538d53a3b04708807564e591e22.tar.gz
dino-7e6668d283194538d53a3b04708807564e591e22.zip
Use QR-code icon for OMEMO QR-code button
Diffstat (limited to 'plugins/omemo/src/contact_details_dialog.vala')
-rw-r--r--plugins/omemo/src/contact_details_dialog.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/omemo/src/contact_details_dialog.vala b/plugins/omemo/src/contact_details_dialog.vala
index c61d75c2..1865c5f0 100644
--- a/plugins/omemo/src/contact_details_dialog.vala
+++ b/plugins/omemo/src/contact_details_dialog.vala
@@ -17,6 +17,7 @@ public class ContactDetailsDialog : Gtk.Dialog {
private bool own = false;
private int own_id = 0;
+ [GtkChild] private Label automatically_accept_new_descr;
[GtkChild] private Box own_fingerprint_container;
[GtkChild] private Label own_fingerprint_label;
[GtkChild] private Box new_keys_container;
@@ -46,6 +47,8 @@ public class ContactDetailsDialog : Gtk.Dialog {
own = true;
own_id = plugin.db.identity.row_with(plugin.db.identity.account_id, account.id)[plugin.db.identity.device_id];
+ automatically_accept_new_descr.label = _("When you add new encryption keys to your account, automatically accept them.");
+
own_fingerprint_container.visible = true;
string own_b64 = plugin.db.identity.row_with(plugin.db.identity.account_id, account.id)[plugin.db.identity.identity_key_public_base64];