aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui')
-rw-r--r--main/src/ui/conversation_titlebar.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/ui/conversation_titlebar.vala b/main/src/ui/conversation_titlebar.vala
index 4f472e05..96b154e3 100644
--- a/main/src/ui/conversation_titlebar.vala
+++ b/main/src/ui/conversation_titlebar.vala
@@ -116,6 +116,7 @@ public class ConversationTitlebar : Gtk.HeaderBar {
btn.visible = true;
encryption_box.pack_end(btn, false);
}
+ encryption_button.clicked.connect(update_encryption_menu_state);
encryption_button.set_use_popover(true);
encryption_button.set_popover(menu);
encryption_button.set_image(new Image.from_icon_name("changes-allow-symbolic", IconSize.BUTTON));