| Newsgroups |
gmane.network.centericq |
| Message-ID |
<[email protected]> |
Hi!
On Thu, 05.10, Petr Pisar wrote:
> Cicq is not X11 related software.
Perhaps there should be a flag in configure script, something like
--with-x. But I don't know how this could be realized because I am not familiar with coding.
>If you want to use urgency hinting on
>incoming message, you could call the program from sound or action file.
The file "eventmanager.cc" might be a good choice. I have inserted a few lines of pseudo code between the comments (centericq-4.21.0/src/eventmanager.cc) starting at line 59:
if(ev.getdirection() == imevent::incoming) {
if(!lst.inlist(ev.getcontact(), csignore)) {
logger.putevent(ev);
face.xtermtitle(_("event from %s"),\
cev.getcontact().totext().c_str());
/*** if compiled with x set urgency hint flag ***/
if(with_x == 'TRUE') {
set_urgency_hint();
}
/*** urgency hint flag was set ***/
c = clist.get(ev.getcontact());
I think this should do the job. The function set_urgency_hint() should be similar to the main function in urgent.c from the ion FAQ.
Is it possible to use the C program (with little changes) and link it with cicq so that above will work? If so how is it done? Or is there a better solution?
Thanks Petr for your answer!
Sibel
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
_______________________________________________
Cicq mailing list
Cicq-xGejAJT2w6wWP6gT/[email protected]
http://mailman.linuxpl.org/mailman/listinfo/cicq
Questions? Check the FAQ first: http://centericq.de/faq/