changeset 25837:a95eed74fdd7

Changed "type" to "client_type" for the hash value specifying client type
author Marcus Lundblad <ml@update.uu.se>
date Tue, 10 Feb 2009 18:41:22 +0000
parents 1d3274111180
children d971b6a6be2c
files finch/finch.c libpurple/core.h libpurple/protocols/jabber/disco.c pidgin/gtkmain.c
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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 @@
  *   <dt><tt>dev_website</tt></dt>
  *   <dd>the UI's development/support website, such as http://developer.pidgin.im.</dd>
  *
- *   <dt><tt>type</tt></dt>
+ *   <dt><tt>client_type</tt></dt>
  *   <dd>the type of UI (pc, console, phone, handheld, web, bot)</dd>
  *   
  * </dl>
--- 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 */
 
--- 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;