comparison plugins/iconaway.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 d33ec392a5e1
children 83a54877f1ae
comparison
equal deleted inserted replaced
3550:e9b2003ee562 3551:cd938f18f3f8
31 gaim_signal_connect(handle, event_away, iconify_windows, NULL); 31 gaim_signal_connect(handle, event_away, iconify_windows, NULL);
32 32
33 return NULL; 33 return NULL;
34 } 34 }
35 35
36 struct gaim_plugin_description desc;
37 struct gaim_plugin_description *gaim_plugin_desc() {
38 desc.api_version = PLUGIN_API_VERSION;
39 desc.name = g_strdup("Iconify on away");
40 desc.version = g_strdup(VERSION);
41 desc.description = g_strdup("Iconifies the away box and thee buddy list when you go away.");
42 desc.authors = g_strdup("Eric Warmenhoven &lt;eric@warmenhoven.org>");
43 desc.url = g_strdup(WEBSITE);
44 return &desc;
45 }
46
36 char *name() { 47 char *name() {
37 return "Iconify On Away"; 48 return "Iconify On Away";
38 } 49 }
39 50
40 char *description() { 51 char *description() {