diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-06-05 22:04:40 +0800 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-06-05 22:04:40 +0800 |
commit | 48236b65f7ac33d05f0bc4a7a83ddec1e9ec59aa (patch) | |
tree | 952d6eae097e4dc43278bd629c69c549c5e0efc4 /src | |
parent | 9c1dfe2afbeae0a3e598e5afe094f42b321e5257 (diff) | |
download | gsoc2013-empathy-48236b65f7ac33d05f0bc4a7a83ddec1e9ec59aa.tar gsoc2013-empathy-48236b65f7ac33d05f0bc4a7a83ddec1e9ec59aa.tar.gz gsoc2013-empathy-48236b65f7ac33d05f0bc4a7a83ddec1e9ec59aa.tar.bz2 gsoc2013-empathy-48236b65f7ac33d05f0bc4a7a83ddec1e9ec59aa.tar.lz gsoc2013-empathy-48236b65f7ac33d05f0bc4a7a83ddec1e9ec59aa.tar.xz gsoc2013-empathy-48236b65f7ac33d05f0bc4a7a83ddec1e9ec59aa.tar.zst gsoc2013-empathy-48236b65f7ac33d05f0bc4a7a83ddec1e9ec59aa.zip |
Set an empty password for pidgin accounts that have no password set.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-import-pidgin.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/empathy-import-pidgin.c b/src/empathy-import-pidgin.c index fad9d83da..9b48c6883 100644 --- a/src/empathy-import-pidgin.c +++ b/src/empathy-import-pidgin.c @@ -304,6 +304,16 @@ empathy_import_pidgin_load (void) } } + /* If there is no password then MC treats the account as not + * ready and doesn't display it. */ + if (!g_hash_table_lookup (data->settings, "password")) + { + GValue *value; + value = tp_g_value_slice_new (G_TYPE_STRING); + g_value_set_string (value, ""); + g_hash_table_insert (data->settings, "password", value); + } + accounts = g_list_prepend (accounts, data); } else |