changeset 3550:e9b2003ee562

[gaim-migrate @ 3625] I reversed the last patch. it stopped gaim from compiling, and while i can easily see that PLUGIN_API_VERSION isn't defined, i don't know what was up with the illegal usage of a struct. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 25 Sep 2002 14:27:18 +0000
parents face765b6a9d
children cd938f18f3f8
files plugins/docklet/docklet.c
diffstat 1 files changed, 2 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/docklet/docklet.c	Wed Sep 25 13:19:44 2002 +0000
+++ b/plugins/docklet/docklet.c	Wed Sep 25 14:27:18 2002 +0000
@@ -331,7 +331,6 @@
 	gaim_signal_connect(handle, event_signoff, gaim_signoff, NULL);
 	gaim_signal_connect(handle, event_connecting, gaim_connecting, NULL);
 	gaim_signal_connect(handle, event_away, gaim_away, NULL);
-	gaim_signal_connect(handle, event_im_displayed_rcvd, gaim_im_recv, NULL);
 	gaim_signal_connect(handle, event_im_recv, gaim_im_recv, NULL);
 	gaim_signal_connect(handle, event_buddy_signon, gaim_buddy_signon, NULL);
 	gaim_signal_connect(handle, event_buddy_signoff, gaim_buddy_signoff, NULL);
@@ -379,23 +378,11 @@
 
 	debug_printf("Docklet: removed\n");
 }
-      
-struct gaim_plugin_description desc; 
-struct gaim_plugin_description *gaim_plugin_desc() {
-	desc.api_version = PLUGIN_API_VERSION;
-	desc.name = g_strdup("System Tray Docklet");
-	desc.version = g_strdup(VERSION);
-	desc.description = g_strdup("Interacts with a System Tray applet (in GNOME or KDE, for example) to display the current status of Gaim, allow fast access to commonly used functions, and to toggle display of the buddy list or login window.");
-	desc.authors = g_strdup("Robert McQueen &lt;robot101@debian.org>");
-	desc.url = g_strdup(WEBSITE);
-	return &desc;
-}
- 
 
 const char *name() {
-	return _("System Tray Docklet 2");
+	return _("System Tray Docklet");
 }
 
 const char *description() {
-	return _(" 22 Interacts with a System Tray applet (in GNOME or KDE, for example) to display the current status of Gaim, allow fast access to commonly used functions, and to toggle display of the buddy list or login window.");
+	return _("Interacts with a System Tray applet (in GNOME or KDE, for example) to display the current status of Gaim, allow fast access to commonly used functions, and to toggle display of the buddy list or login window.");
 }