/soc/2012/tomkiewicz/gg: 3ba9260b0e74: Gadu-Gadu: add login_labe...
Tomasz Wasilczyk
tomkiewicz at cpw.pidgin.im
Thu Jul 5 13:31:55 EDT 2012
Changeset: 3ba9260b0e749c57150d29387908988be65c59a2
Author: Tomasz Wasilczyk <tomkiewicz at cpw.pidgin.im>
Date: 2012-07-03 12:59 +0200
Branch: soc.2012.gg
URL: http://hg.pidgin.im/soc/2012/tomkiewicz/gg/rev/3ba9260b0e74
Description:
Gadu-Gadu: add login_label field
diffstat:
libpurple/protocols/gg/gg.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (27 lines):
diff --git a/libpurple/protocols/gg/gg.c b/libpurple/protocols/gg/gg.c
--- a/libpurple/protocols/gg/gg.c
+++ b/libpurple/protocols/gg/gg.c
@@ -2280,6 +2280,14 @@
return TRUE;
}
+static GHashTable * ggp_get_account_text_table(PurpleAccount *account)
+{
+ GHashTable *table;
+ table = g_hash_table_new(g_str_hash, g_str_equal);
+ g_hash_table_insert(table, "login_label", (gpointer)_("GG number..."));
+ return table;
+}
+
static PurplePluginProtocolInfo prpl_info =
{
sizeof(PurplePluginProtocolInfo), /* struct_size */
@@ -2347,7 +2355,7 @@
NULL, /* unregister_user */
NULL, /* send_attention */
NULL, /* get_attention_types */
- NULL, /* get_account_text_table */
+ ggp_get_account_text_table, /* get_account_text_table */
NULL, /* initiate_media */
NULL, /* can_do_media */
NULL, /* get_moods */
More information about the Commits
mailing list