How to find out when plugin is disabled
"Michal Nazarewicz" <[email protected]>
| Newsgroups | gmane.comp.gnome.apps.gkrellm |
|---|---|
| Organization | http://mina86.com/ |
| Message-ID | <[email protected]> |
Hi, I've just started writing a plugin which needs to do some clean up when it's disabled or GKrellM is being closed. I figured out that I could check the plugin_mon.privet->enabled like once a second to check if was enabled but doesn't seem like an elegant solution plus it won't work when GKrellM is closed. What I need is some kind of destroy_plugin() function which will be called by GKrellM when the plugin is disabled or GKrellM being closed. Is there anything like that or any mechanism that does what I want? -- Best regards, _ _ .o. | Liege of Serenly Enlightened Majesty of o' \,=./ `o ..o | Computer Science, Michal "mina86" Nazarewicz (o o) ooo +--<mina86*tlen.pl>--<jid:mina86*jabber.org>--ooO--(_)--Ooo-- _______________________________________________ Gkrellm mailing list [email protected] http://ninja.linux-phreak.biz/mailman/listinfo/gkrellm