Changed "type" to "client_type" for the hash value specifying client type cpw.malu.client_type

Tue, 10 Feb 2009 18:41:22 +0000

author
Marcus Lundblad <malu@pidgin.im>
date
Tue, 10 Feb 2009 18:41:22 +0000
branch
cpw.malu.client_type
changeset 25578
c0c1b73f4fb1
parent 25577
ca0b40451bbc
child 25579
256aa4861079

Changed "type" to "client_type" for the hash value specifying client type

finch/finch.c file | annotate | diff | comparison | revisions
libpurple/core.h file | annotate | diff | comparison | revisions
libpurple/protocols/jabber/disco.c file | annotate | diff | comparison | revisions
pidgin/gtkmain.c file | annotate | diff | comparison | revisions
--- 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;

mercurial