comparison 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
comparison
equal deleted inserted replaced
3547:9e0e21e7409f 3548:ff62b03bee6d
329 329
330 gaim_signal_connect(handle, event_signon, gaim_signon, NULL); 330 gaim_signal_connect(handle, event_signon, gaim_signon, NULL);
331 gaim_signal_connect(handle, event_signoff, gaim_signoff, NULL); 331 gaim_signal_connect(handle, event_signoff, gaim_signoff, NULL);
332 gaim_signal_connect(handle, event_connecting, gaim_connecting, NULL); 332 gaim_signal_connect(handle, event_connecting, gaim_connecting, NULL);
333 gaim_signal_connect(handle, event_away, gaim_away, NULL); 333 gaim_signal_connect(handle, event_away, gaim_away, NULL);
334 gaim_signal_connect(handle, event_im_displayed_rcvd, gaim_im_recv, NULL);
334 gaim_signal_connect(handle, event_im_recv, gaim_im_recv, NULL); 335 gaim_signal_connect(handle, event_im_recv, gaim_im_recv, NULL);
335 gaim_signal_connect(handle, event_buddy_signon, gaim_buddy_signon, NULL); 336 gaim_signal_connect(handle, event_buddy_signon, gaim_buddy_signon, NULL);
336 gaim_signal_connect(handle, event_buddy_signoff, gaim_buddy_signoff, NULL); 337 gaim_signal_connect(handle, event_buddy_signoff, gaim_buddy_signoff, NULL);
337 gaim_signal_connect(handle, event_buddy_away, gaim_buddy_away, NULL); 338 gaim_signal_connect(handle, event_buddy_away, gaim_buddy_away, NULL);
338 gaim_signal_connect(handle, event_buddy_back, gaim_buddy_back, NULL); 339 gaim_signal_connect(handle, event_buddy_back, gaim_buddy_back, NULL);
376 g_signal_handlers_disconnect_by_func(GTK_WIDGET(docklet), G_CALLBACK(docklet_destroyed), NULL); 377 g_signal_handlers_disconnect_by_func(GTK_WIDGET(docklet), G_CALLBACK(docklet_destroyed), NULL);
377 gtk_widget_destroy(GTK_WIDGET(docklet)); 378 gtk_widget_destroy(GTK_WIDGET(docklet));
378 379
379 debug_printf("Docklet: removed\n"); 380 debug_printf("Docklet: removed\n");
380 } 381 }
382
383 struct gaim_plugin_description desc;
384 struct gaim_plugin_description *gaim_plugin_desc() {
385 desc.api_version = PLUGIN_API_VERSION;
386 desc.name = g_strdup("System Tray Docklet");
387 desc.version = g_strdup(VERSION);
388 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.");
389 desc.authors = g_strdup("Robert McQueen &lt;robot101@debian.org>");
390 desc.url = g_strdup(WEBSITE);
391 return &desc;
392 }
393
381 394
382 const char *name() { 395 const char *name() {
383 return _("System Tray Docklet"); 396 return _("System Tray Docklet 2");
384 } 397 }
385 398
386 const char *description() { 399 const char *description() {
387 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."); 400 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.");
388 } 401 }