aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-keyring.c
diff options
context:
space:
mode:
authorJonny Lamb <jonnylamb@gnome.org>2010-12-15 17:17:15 +0800
committerJonny Lamb <jonnylamb@gnome.org>2010-12-15 17:17:15 +0800
commit275aa2505465bd2f1c5cf02427219a6ae54dfe93 (patch)
treec84916ab9a6e694a9acc9e630414b21178877a8c /libempathy/empathy-keyring.c
parente63548aeb4d170976beea77c299a3575287ca048 (diff)
downloadgsoc2013-empathy-275aa2505465bd2f1c5cf02427219a6ae54dfe93.tar
gsoc2013-empathy-275aa2505465bd2f1c5cf02427219a6ae54dfe93.tar.gz
gsoc2013-empathy-275aa2505465bd2f1c5cf02427219a6ae54dfe93.tar.bz2
gsoc2013-empathy-275aa2505465bd2f1c5cf02427219a6ae54dfe93.tar.lz
gsoc2013-empathy-275aa2505465bd2f1c5cf02427219a6ae54dfe93.tar.xz
gsoc2013-empathy-275aa2505465bd2f1c5cf02427219a6ae54dfe93.tar.zst
gsoc2013-empathy-275aa2505465bd2f1c5cf02427219a6ae54dfe93.zip
keyring: change display name for passwords to be more human-readable
Apparently people complained that when they opened seahorse to look at their passwords they were greeted by nice display names for keys for wireless networks saved by NetworkManager, and ugly keys for secret parameters saved by mission-control. Let's fix this now then and shut these people up. gnome-keyring finds passwords on the parameters set in the schema, so the display name really is only to show in seahorse. We can set anything we want here. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'libempathy/empathy-keyring.c')
-rw-r--r--libempathy/empathy-keyring.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-keyring.c b/libempathy/empathy-keyring.c
index 2ce53d361..4923a9463 100644
--- a/libempathy/empathy-keyring.c
+++ b/libempathy/empathy-keyring.c
@@ -154,7 +154,8 @@ empathy_keyring_set_password_async (TpAccount *account,
DEBUG ("Remembering password for %s", account_id);
- name = g_strdup_printf ("account: %s; param: password", account_id);
+ name = g_strdup_printf ("IM account password for %s (%s)",
+ tp_account_get_display_name (account), account_id);
gnome_keyring_store_password (&keyring_schema, NULL, name, password,
store_password_cb, simple, NULL,