From f9df0474ff7a8e4475080b38ec280b798bc7f0df Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Tue, 23 Nov 2004 14:42:47 +0000
Subject: [PATCH] When we add a new account, tell our password to the Core

---
 plugins/gtkgui/config.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plugins/gtkgui/config.py b/plugins/gtkgui/config.py
index 3fe762aa2e..a2021d3da8 100644
--- a/plugins/gtkgui/config.py
+++ b/plugins/gtkgui/config.py
@@ -692,6 +692,8 @@ class accountPreference_Window:
 			'keyname': keyName, 'savegpgpass': save_gpg_pass, 'gpgpass': gpg_pass}
 		self.plugin.send('CONFIG', None, ('accounts', self.plugin.accounts, \
 			'GtkGui'))
+		if savepass:
+			self.plugin.send('PASSPHRASE', name, entryPass.get_text())
 		#update variables
 		self.plugin.windows[name] = {'infos': {}, 'chats': {}, 'gc': {}}
 		self.plugin.queues[name] = {}
-- 
GitLab