aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/omemo')
-rw-r--r--plugins/omemo/data/contact_details_dialog.ui5
-rw-r--r--plugins/omemo/src/contact_details_dialog.vala3
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/omemo/data/contact_details_dialog.ui b/plugins/omemo/data/contact_details_dialog.ui
index dc97cb56..c16d8b46 100644
--- a/plugins/omemo/data/contact_details_dialog.ui
+++ b/plugins/omemo/data/contact_details_dialog.ui
@@ -45,7 +45,7 @@
</object>
</child>
<child>
- <object class="GtkLabel">
+ <object class="GtkLabel" id="automatically_accept_new_descr">
<property name="visible">True</property>
<property name="max_width_chars">1</property>
<property name="expand">True</property>
@@ -136,8 +136,7 @@
<child>
<object class="GtkImage">
<property name="visible">True</property>
- <property name="halign">end</property>
- <property name="icon-name">camera-photo-symbolic</property>
+ <property name="icon-name">dino-qr-code-symbolic</property>
<property name="icon-size">1</property>
</object>
</child>
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];