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:
Diffstat (limited to 'openpgp/gtk/wizard.py')
-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: