Connect gpg agent action correctly

Fixes #9660
This commit is contained in:
Philipp Hörist 2019-04-09 22:26:03 +02:00
parent 27e2786bcc
commit a7466406a5
1 changed files with 1 additions and 0 deletions

View File

@ -379,6 +379,7 @@ class GajimApplication(Gtk.Application):
act = Gio.SimpleAction.new_stateful(
'agent', None,
GLib.Variant.new_boolean(app.config.get('use_gpg_agent')))
act.connect('change-state', app_actions.on_use_pgp_agent)
self.add_action(act)
# General Actions