Mercurial > pidgin
diff libpurple/protocols/myspace/myspace.c @ 23110:bb41bdce8981
Patch from Jaywalker to let prpls add some helpful text for some account
fields. This includes the update from rekkanoryo that was reverted
earlier. References #2295.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 05 May 2008 06:55:00 +0000 |
parents | 718a9c287839 |
children | 25161f5ea347 |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c Mon May 05 06:19:46 2008 +0000 +++ b/libpurple/protocols/myspace/myspace.c Mon May 05 06:55:00 2008 +0000 @@ -2449,6 +2449,18 @@ return normalized; } +static GHashTable * +msim_get_account_text_table(PurpleAccount *unused) +{ + GHashTable *table; + + table = g_hash_table_new(g_str_hash, g_str_equal); + + g_hash_table_insert(table, "login_label", (gpointer)_("E-mail Address...")); + + return table; +} + /** Return whether the buddy can be messaged while offline. * * The protocol supports offline messages in just the same way as online @@ -3133,6 +3145,7 @@ msim_attention_types, /* attention_types */ sizeof(PurplePluginProtocolInfo), /* struct_size */ + msim_get_account_text_table, /* get_account_text_table */ };