Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwurstsalat <mailtrash@posteo.de>2023-06-10 14:13:30 +0300
committerwurstsalat <mailtrash@posteo.de>2023-06-10 14:19:29 +0300
commit602a2d63d04c01b255e923f487feaf8208046ccb (patch)
treef8ec2b4ad4863dd69c0db9086a7a070220066388
parente7b562fd63a2b71ec8a13235191094ba0e1a2d7c (diff)
[openpgp] Fix enabling OpenPGP encryption when running wizard
Fixes #609
-rw-r--r--openpgp/gtk/wizard.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/openpgp/gtk/wizard.py b/openpgp/gtk/wizard.py
index 7d46e37..574f585 100644
--- a/openpgp/gtk/wizard.py
+++ b/openpgp/gtk/wizard.py
@@ -79,9 +79,8 @@ class KeyWizard(Gtk.Assistant):
main_box.remove(sidebar)
def _activate_encryption(self):
- action = app.window.lookup_action(
- 'set-encryption-%s' % self._chat_control.control_id)
- action.activate(GLib.Variant("s", self._plugin.encryption_name))
+ action = app.window.lookup_action('set-encryption')
+ action.activate(GLib.Variant('s', self._plugin.encryption_name))
def _on_page_change(self, assistant, page):
if self.get_current_page() == Page.NEWKEY: