Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
23109:718a9c287839 | 23110:bb41bdce8981 |
---|---|
2445 * | 2445 * |
2446 * TODO: file a ticket to add this enhancement. | 2446 * TODO: file a ticket to add this enhancement. |
2447 */ | 2447 */ |
2448 | 2448 |
2449 return normalized; | 2449 return normalized; |
2450 } | |
2451 | |
2452 static GHashTable * | |
2453 msim_get_account_text_table(PurpleAccount *unused) | |
2454 { | |
2455 GHashTable *table; | |
2456 | |
2457 table = g_hash_table_new(g_str_hash, g_str_equal); | |
2458 | |
2459 g_hash_table_insert(table, "login_label", (gpointer)_("E-mail Address...")); | |
2460 | |
2461 return table; | |
2450 } | 2462 } |
2451 | 2463 |
2452 /** Return whether the buddy can be messaged while offline. | 2464 /** Return whether the buddy can be messaged while offline. |
2453 * | 2465 * |
2454 * The protocol supports offline messages in just the same way as online | 2466 * The protocol supports offline messages in just the same way as online |
3131 NULL, /* unregister_user */ | 3143 NULL, /* unregister_user */ |
3132 msim_send_attention, /* send_attention */ | 3144 msim_send_attention, /* send_attention */ |
3133 msim_attention_types, /* attention_types */ | 3145 msim_attention_types, /* attention_types */ |
3134 | 3146 |
3135 sizeof(PurplePluginProtocolInfo), /* struct_size */ | 3147 sizeof(PurplePluginProtocolInfo), /* struct_size */ |
3148 msim_get_account_text_table, /* get_account_text_table */ | |
3136 }; | 3149 }; |
3137 | 3150 |
3138 | 3151 |
3139 | 3152 |
3140 /** Based on MSN's plugin info comments. */ | 3153 /** Based on MSN's plugin info comments. */ |