comparison plugins/ticker/ticker.c @ 3551:cd938f18f3f8

[gaim-migrate @ 3626] In the interest of continued progress, I pulled what's usable out of my development tree and am committing it. Here, we have gotten rid of the plugins dialog and perl menu under Tools and put them both in preferences. Perl scripts now work like plugins--you have to load them explicitly (it will probe $prefix/lib/gaim and $HOME/.gaim for them) and you can unload them (although right now, this is entirely unreliable) Oh, and I broke all your perl scripts. Sorry about that. Don't try fixing them yet, though--I'm gonna make unloading single scripts more reliable tommorow. I should also finish Phase Two tommorow as well. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 26 Sep 2002 07:37:52 +0000
parents ee79ca85fe0f
children 9682c0e022c6
comparison
equal deleted inserted replaced
3550:e9b2003ee562 3551:cd938f18f3f8
406 406
407 gaim_signal_connect(h, event_buddy_signon, signon_cb, NULL); 407 gaim_signal_connect(h, event_buddy_signon, signon_cb, NULL);
408 gaim_signal_connect(h, event_signoff, signoff_cb, NULL); 408 gaim_signal_connect(h, event_signoff, signoff_cb, NULL);
409 gaim_signal_connect(h, event_buddy_signoff, buddy_signoff_cb, NULL); 409 gaim_signal_connect(h, event_buddy_signoff, buddy_signoff_cb, NULL);
410 gaim_signal_connect(h, event_buddy_away, away_cb, NULL); 410 gaim_signal_connect(h, event_buddy_away, away_cb, NULL);
411 gaim_signal_connect(h, event_buddy_back, away_cb, NULL);
412 411
413 if (connections) 412 if (connections)
414 BuddyTickerShow(); 413 BuddyTickerShow();
415 return NULL; 414 return NULL;
416 } 415 }
417 416
418 void gaim_plugin_remove() { 417 void gaim_plugin_remove() {
419 gtk_widget_destroy(tickerwindow); 418 gtk_widget_destroy(tickerwindow);
420 } 419 }
420 struct gaim_plugin_description desc;
421 struct gaim_plugin_description *gaim_plugin_desc() {
422 desc.api_version = PLUGIN_API_VERSION;
423 desc.name = g_strdup("Ticker");
424 desc.version = g_strdup(VERSION);
425 desc.description = g_strdup("A horizontal scrolling version of the buddy list.");
426 desc.authors = g_strdup("Syd Logan");
427 desc.url = g_strdup(WEBSITE);
428 return &desc;
429 }