# HG changeset patch # User Marcus Lundblad # Date 1234291282 0 # Node ID a95eed74fdd76627dd7da0e319b01dd207752fe5 # Parent 1d32741111809a3c35ca1e717ad2abfe8cccbcfe Changed "type" to "client_type" for the hash value specifying client type diff -r 1d3274111180 -r a95eed74fdd7 finch/finch.c --- a/finch/finch.c Mon Feb 09 21:21:18 2009 +0000 +++ b/finch/finch.c Tue Feb 10 18:41:22 2009 +0000 @@ -65,7 +65,7 @@ g_hash_table_insert(ui_info, "version", VERSION); g_hash_table_insert(ui_info, "website", "http://pidgin.im"); g_hash_table_insert(ui_info, "dev_website", "http://developer.pidgin.im"); - g_hash_table_insert(ui_info, "type", "console"); + g_hash_table_insert(ui_info, "client_type", "console"); } return ui_info; diff -r 1d3274111180 -r a95eed74fdd7 libpurple/core.h --- a/libpurple/core.h Mon Feb 09 21:21:18 2009 +0000 +++ b/libpurple/core.h Tue Feb 10 18:41:22 2009 +0000 @@ -187,7 +187,7 @@ *
dev_website
*
the UI's development/support website, such as http://developer.pidgin.im.
* - *
type
+ *
client_type
*
the type of UI (pc, console, phone, handheld, web, bot)
* * diff -r 1d3274111180 -r a95eed74fdd7 libpurple/protocols/jabber/disco.c --- a/libpurple/protocols/jabber/disco.c Mon Feb 09 21:21:18 2009 +0000 +++ b/libpurple/protocols/jabber/disco.c Tue Feb 10 18:41:22 2009 +0000 @@ -118,7 +118,7 @@ if(!node || !strcmp(node, CAPS0115_NODE "#" VERSION)) { GHashTable *ui_info = purple_core_get_ui_info(); - const gchar *ui_type = g_hash_table_lookup(ui_info, "type"); + const gchar *ui_type = g_hash_table_lookup(ui_info, "client_type"); const gchar *type = "pc"; /* default client type, if unknown or unspecified */ diff -r 1d3274111180 -r a95eed74fdd7 pidgin/gtkmain.c --- a/pidgin/gtkmain.c Mon Feb 09 21:21:18 2009 +0000 +++ b/pidgin/gtkmain.c Tue Feb 10 18:41:22 2009 +0000 @@ -349,7 +349,7 @@ g_hash_table_insert(ui_info, "version", VERSION); g_hash_table_insert(ui_info, "website", "http://pidgin.im"); g_hash_table_insert(ui_info, "dev_website", "http://developer.pidgin.im"); - g_hash_table_insert(ui_info, "type", "pc"); + g_hash_table_insert(ui_info, "client_type", "pc"); } return ui_info;