From bb811f8b29ed8be96664277d2b8ca8a1c9829602 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Mon, 13 Mar 2017 10:35:47 +0100 Subject: Do not use gpgme 1.7.0+ features yet. --- plugins/openpgp/src/account_settings_widget.vala | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins/openpgp') diff --git a/plugins/openpgp/src/account_settings_widget.vala b/plugins/openpgp/src/account_settings_widget.vala index 1ebf5c58..e4077c42 100644 --- a/plugins/openpgp/src/account_settings_widget.vala +++ b/plugins/openpgp/src/account_settings_widget.vala @@ -50,6 +50,8 @@ private class AccountSettingsWidget : Stack, Plugins.AccountSettingsWidget { } private void activate_current_account() { + combobox.changed.disconnect(key_changed); + string? account_key = plugin.db.get_account_key(current_account); int activate_index = 0; for (int i = 0; i < keys.size; i++) { @@ -63,6 +65,8 @@ private class AccountSettingsWidget : Stack, Plugins.AccountSettingsWidget { TreeIter selected; combobox.get_active_iter(out selected); set_label_active(selected); + + combobox.changed.connect(key_changed); } private void populate_list_store() { -- cgit v1.2.3-70-g09d2