/soc/2013/ankitkv/gobjectification: 9faafe43603e: Rename protoco...

Ankit Vani a at nevitus.org
Fri Jan 17 17:39:08 EST 2014


Changeset: 9faafe43603e98fc1b0d371d2fa94cb2eae80b0c
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2014-01-18 03:52 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/9faafe43603e

Description:

Rename protocol plugin IDs to prpl-*

diffstat:

 libpurple/protocols/bonjour/bonjour.c   |  2 +-
 libpurple/protocols/gg/gg.c             |  2 +-
 libpurple/protocols/irc/irc.c           |  2 +-
 libpurple/protocols/jabber/jabber.c     |  2 +-
 libpurple/protocols/msn/msn.c           |  2 +-
 libpurple/protocols/mxit/mxit.h         |  2 +-
 libpurple/protocols/myspace/myspace.c   |  2 +-
 libpurple/protocols/novell/novell.c     |  2 +-
 libpurple/protocols/null/nullprotocol.c |  2 +-
 libpurple/protocols/oscar/oscar.c       |  2 +-
 libpurple/protocols/sametime/sametime.c |  2 +-
 libpurple/protocols/silc/silc.c         |  2 +-
 libpurple/protocols/simple/simple.c     |  2 +-
 libpurple/protocols/yahoo/yahoo.c       |  2 +-
 libpurple/protocols/zephyr/zephyr.c     |  2 +-
 15 files changed, 15 insertions(+), 15 deletions(-)

diffs (180 lines):

diff --git a/libpurple/protocols/bonjour/bonjour.c b/libpurple/protocols/bonjour/bonjour.c
--- a/libpurple/protocols/bonjour/bonjour.c
+++ b/libpurple/protocols/bonjour/bonjour.c
@@ -724,7 +724,7 @@ static PurplePluginInfo *
 plugin_query(GError **error)
 {
 	return purple_plugin_info_new(
-		"id",           "protocol-bonjour",
+		"id",           "prpl-bonjour",
 		"name",         "Bonjour Protocol",
 		"version",      DISPLAY_VERSION,
 		"category",     N_("Protocol"),
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
@@ -1168,7 +1168,7 @@ plugin_query(GError **error)
 	};
 
 	return purple_plugin_info_new(
-		"id",           "protocol-gg",
+		"id",           "prpl-gg",
 		"name",         "Gadu-Gadu Protocol",
 		"version",      DISPLAY_VERSION,
 		"category",     N_("Protocol"),
diff --git a/libpurple/protocols/irc/irc.c b/libpurple/protocols/irc/irc.c
--- a/libpurple/protocols/irc/irc.c
+++ b/libpurple/protocols/irc/irc.c
@@ -1060,7 +1060,7 @@ static PurplePluginInfo *
 plugin_query(GError **error)
 {
 	return purple_plugin_info_new(
-		"id",           "protocol-irc",
+		"id",           "prpl-irc",
 		"name",         "IRC Protocol",
 		"version",      DISPLAY_VERSION,
 		"category",     N_("Protocol"),
diff --git a/libpurple/protocols/jabber/jabber.c b/libpurple/protocols/jabber/jabber.c
--- a/libpurple/protocols/jabber/jabber.c
+++ b/libpurple/protocols/jabber/jabber.c
@@ -4304,7 +4304,7 @@ static PurplePluginInfo *
 plugin_query(GError **error)
 {
 	return purple_plugin_info_new(
-		"id",           "protocol-xmpp",
+		"id",           "prpl-xmpp",
 		"name",         "XMPP Protocols",
 		"version",      DISPLAY_VERSION,
 		"category",     N_("Protocol"),
diff --git a/libpurple/protocols/msn/msn.c b/libpurple/protocols/msn/msn.c
--- a/libpurple/protocols/msn/msn.c
+++ b/libpurple/protocols/msn/msn.c
@@ -3040,7 +3040,7 @@ static PurplePluginInfo *
 plugin_query(GError **error)
 {
 	return purple_plugin_info_new(
-		"id",           "protocol-msn",
+		"id",           "prpl-msn",
 		"name",         "MSN Protocol",
 		"version",      DISPLAY_VERSION,
 		"category",     N_("Protocol"),
diff --git a/libpurple/protocols/mxit/mxit.h b/libpurple/protocols/mxit/mxit.h
--- a/libpurple/protocols/mxit/mxit.h
+++ b/libpurple/protocols/mxit/mxit.h
@@ -67,7 +67,7 @@
 
 
 /* Plugin details */
-#define		MXIT_PLUGIN_ID				"protocol-mxit"
+#define		MXIT_PLUGIN_ID				"prpl-mxit"
 #define		MXIT_PLUGIN_NAME			"MXit Protocol"
 #define		MXIT_PLUGIN_CATEGORY		"Protocol"
 #define		MXIT_PLUGIN_AUTHORS			{ "Pieter Loubser <libpurple at mxit.com>", NULL }
diff --git a/libpurple/protocols/myspace/myspace.c b/libpurple/protocols/myspace/myspace.c
--- a/libpurple/protocols/myspace/myspace.c
+++ b/libpurple/protocols/myspace/myspace.c
@@ -3526,7 +3526,7 @@ plugin_query(GError **error)
 	};
 
 	return purple_plugin_info_new(
-		"id",           "protocol-myspace",
+		"id",           "prpl-myspace",
 		"name",         "MySpaceIM Protocol",
 		"version",      MSIM_PROTOCOL_VERSION_STRING,
 		"category",     "Protocol",
diff --git a/libpurple/protocols/novell/novell.c b/libpurple/protocols/novell/novell.c
--- a/libpurple/protocols/novell/novell.c
+++ b/libpurple/protocols/novell/novell.c
@@ -3601,7 +3601,7 @@ static PurplePluginInfo *
 plugin_query(GError **error)
 {
 	return purple_plugin_info_new(
-		"id",           "protocol-novell",
+		"id",           "prpl-novell",
 		"name",         "Novell GroupWise Protocol",
 		"version",      DISPLAY_VERSION,
 		"category",     N_("Protocol"),
diff --git a/libpurple/protocols/null/nullprotocol.c b/libpurple/protocols/null/nullprotocol.c
--- a/libpurple/protocols/null/nullprotocol.c
+++ b/libpurple/protocols/null/nullprotocol.c
@@ -1205,7 +1205,7 @@ static PurplePluginInfo *
 plugin_query(GError **error)
 {
   return purple_plugin_info_new(
-    "id",           "protocol-null",
+    "id",           "prpl-null",
     "name",         "Null Protocol",
     "version",      DISPLAY_VERSION,
     "category",     N_("Protocol"),
diff --git a/libpurple/protocols/oscar/oscar.c b/libpurple/protocols/oscar/oscar.c
--- a/libpurple/protocols/oscar/oscar.c
+++ b/libpurple/protocols/oscar/oscar.c
@@ -5700,7 +5700,7 @@ static PurplePluginInfo *
 plugin_query(GError **error)
 {
 	return purple_plugin_info_new(
-		"id",           "protocol-oscar",
+		"id",           "prpl-oscar",
 		"name",         "Oscar Protocols",
 		"version",      DISPLAY_VERSION,
 		"category",     N_("Protocol"),
diff --git a/libpurple/protocols/sametime/sametime.c b/libpurple/protocols/sametime/sametime.c
--- a/libpurple/protocols/sametime/sametime.c
+++ b/libpurple/protocols/sametime/sametime.c
@@ -75,7 +75,7 @@ static PurpleProtocol *my_protocol = NUL
    I don't know why I even bother providing these. Oh valiant reader,
    I do it all for you. */
 /* scratch that, I just added it to the protocol options panel */
-#define PLUGIN_ID        "protocol-sametime"
+#define PLUGIN_ID        "prpl-sametime"
 #define PLUGIN_NAME      "Sametime Protocol"
 #define PLUGIN_CATEGORY  "Protocol"
 #define PLUGIN_SUMMARY   "Sametime Protocol Plugin"
diff --git a/libpurple/protocols/silc/silc.c b/libpurple/protocols/silc/silc.c
--- a/libpurple/protocols/silc/silc.c
+++ b/libpurple/protocols/silc/silc.c
@@ -2312,7 +2312,7 @@ plugin_query(GError **error)
 	};
 
 	return purple_plugin_info_new(
-		"id",           "protocol-silc",
+		"id",           "prpl-silc",
 		"name",         "SILC Protocol",
 		"version",      "1.1",
 		"category",     N_("Protocol"),
diff --git a/libpurple/protocols/simple/simple.c b/libpurple/protocols/simple/simple.c
--- a/libpurple/protocols/simple/simple.c
+++ b/libpurple/protocols/simple/simple.c
@@ -2123,7 +2123,7 @@ plugin_query(GError **error)
 	};
 
 	return purple_plugin_info_new(
-		"id",           "protocol-simple",
+		"id",           "prpl-simple",
 		"name",         "SIMPLE Protocol",
 		"version",		DISPLAY_VERSION,
 		"category",		N_("Protocol"),
diff --git a/libpurple/protocols/yahoo/yahoo.c b/libpurple/protocols/yahoo/yahoo.c
--- a/libpurple/protocols/yahoo/yahoo.c
+++ b/libpurple/protocols/yahoo/yahoo.c
@@ -368,7 +368,7 @@ static PurplePluginInfo *
 plugin_query(GError **error)
 {
 	return purple_plugin_info_new(
-		"id",           "protocol-yahoo",
+		"id",           "prpl-yahoo",
 		"name",         "Yahoo Protocols",
 		"version",      DISPLAY_VERSION,
 		"category",     N_("Protocol"),
diff --git a/libpurple/protocols/zephyr/zephyr.c b/libpurple/protocols/zephyr/zephyr.c
--- a/libpurple/protocols/zephyr/zephyr.c
+++ b/libpurple/protocols/zephyr/zephyr.c
@@ -3005,7 +3005,7 @@ PURPLE_DEFINE_TYPE_EXTENDED(
 static PurplePluginInfo *plugin_query(GError **error)
 {
 	return purple_plugin_info_new(
-		"id",           "protocol-zephyr",
+		"id",           "prpl-zephyr",
 		"name",         "Zephyr Protocol",
 		"version",      DISPLAY_VERSION,
 		"category",     N_("Protocol"),



More information about the Commits mailing list