maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   xchat and plugins and scripts (https://talk.maemo.org/showthread.php?t=30350)

qwerty12 2009-07-20 14:25

Re: xchat and plugins and scripts
 
4 Attachment(s)
Quote:

Originally Posted by Addison (Post 305531)
Thanks Qwerty!

Darn me and my inability to Google something first before asking. :(

It works great but can it also offer the same display when receiving a new email from a yahoo or hotmail account?

I get a message in Pidgin stating something like 1 new email but I was wondering if there was a way to configure this to activate the LED light as well.

I did Google first this time but came up empty.

Thanks!

You're right: the LED plugin doesn't offer a way to notify you of new e-mails.

I've hacked the plugin to notify you of new e-mails - and it works - but bear in mind that my C sucks and this is based on the little knowledge I gained after quickly reading the Pidgin API.

The hacked plugin will popup a dialog when you have recieved a new e-mail and acknowledging the dialog, by closing it, will stop the LED from blinking. But, as such, you may find the the popping up of the dialog an annoyance. But I cannot think of anything better (my original "solution" was a timeout solution which meant you either had the seconds for the LED to blink at a very high number and saw the LED for a long time or very little and missed it most of the time). :)

I've made sure that it does not popup the dialog again if it is already on your screen.

Deb and diff to source attached.

Addison 2009-07-22 09:24

Re: xchat and plugins and scripts
 
That is so awesome Qwerty!

It works great for me, but then again, I'm not quite as popular as you.

7,500 new emails for you? Dude! :D

Anyway, thank you very much for this.

It upgrades a regular yahoo account into something more premium without having to pay for it.

Cheers buddy!


All times are GMT. The time now is 09:58.

vBulletin® Version 3.8.8