diff plugins/docklet/docklet.c @ 3548:ff62b03bee6d

[gaim-migrate @ 3623] fix by Derek Ireland--and by myself before him ;) committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 25 Sep 2002 07:22:28 +0000
parents 6b0cb60162f4
children e9b2003ee562
line wrap: on
line diff
--- a/plugins/docklet/docklet.c	Wed Sep 25 06:39:30 2002 +0000
+++ b/plugins/docklet/docklet.c	Wed Sep 25 07:22:28 2002 +0000
@@ -331,6 +331,7 @@
 	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);
@@ -378,11 +379,23 @@
 
 	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");
+	return _("System Tray Docklet 2");
 }
 
 const char *description() {
-	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.");
+	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.");
 }