diff options
author | Philipp Hörist <forenjunkie@chello.at> | 2017-01-14 02:32:58 +0300 |
---|---|---|
committer | Philipp Hörist <forenjunkie@chello.at> | 2017-01-14 02:32:58 +0300 |
commit | 5d0858e44a820b40b4e0f5a4a0443b6ca40b52d0 (patch) | |
tree | 48b8f42f0071585fbede624880139d421ea1c107 | |
parent | 22271eb10e13120b609cd29503c274abbbc62551 (diff) |
[omemo] Hide lock icon when omemo gets disabled
Fixes #161
-rw-r--r-- | omemo/ui.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/omemo/ui.py b/omemo/ui.py index b0d6869..0469846 100644 --- a/omemo/ui.py +++ b/omemo/ui.py @@ -322,6 +322,8 @@ class Ui(object): def removeUi(self): self.actions_hbox.remove(self.omemobutton) + self.chat_control._show_lock_image(False, 'OMEMO', False, True, + False) self.chat_control.prepare_context_menu = \ self.chat_control.omemo_orig_prepare_context_menu self.chat_control.send_message = self.chat_control.orig_send_message |