org.guifications.plugins: 2b4260313954aa1b556654e7d14716dfd7367eb3

nosnilmot at guifications.org nosnilmot at guifications.org
Wed Apr 23 09:45:08 CDT 2008


-----------------------------------------------------------------
Revision: 2b4260313954aa1b556654e7d14716dfd7367eb3
Ancestor: 642d7c74149e80d69fe9d617e8ec4752044262c8
Author: nosnilmot at guifications.org
Date: 2008-04-23T14:37:08
Branch: org.guifications.plugins

Modified files:
        showoffline/showoffline.c

ChangeLog: 

Plugin suicide (is that legal?)

-----------------------------------------------------------------
This revision's diffstat output:
 showoffline.c |    7 +++++++
 1 file changed, 7 insertions(+)
-------------- next part --------------
============================================================
--- showoffline/showoffline.c	8b85adfd999d59cc22c7b0c3f500ea43f53b75b9
+++ showoffline/showoffline.c	e78fcceca70c72a5f612dcddd50998a9ac787966
@@ -82,6 +82,13 @@ plugin_load(PurplePlugin *plugin)
 plugin_load(PurplePlugin *plugin)
 {
 
+	if (purple_version_check(2,3,0) == NULL) {
+		purple_notify_info(plugin, _("Plugin deprecated"),
+					_("Show Offline plugin deprecated"),
+					_("This plugin has been deprecated as of Pidgin 2.3.0 which\n"
+					  "includes the same functionality."));
+		return FALSE;
+	}
 	purple_signal_connect(purple_blist_get_handle(), "blist-node-extended-menu",
 						plugin, PURPLE_CALLBACK(showoffline_extended_menu_cb), NULL);
 


More information about the Plugins-commits mailing list