[prev in list] [next in list] [prev in thread] [next in thread] List: kopete-devel Subject: [kopete-devel] Chat style modification request From: "Roman Jarosz" <roman.jarosz () gmail ! com> Date: 2008-08-31 20:08:15 Message-ID: op.ugrov1jmrj95b0 () localhost [Download RAW message or body] Hi, I would like to ask style creators to add into current Kopete styles new message state tags. The Outgoing/Content.html and Outgoing/NextContent.html should contain element with id="%stateElementId%" For instance: <div class="NextOutgoingMessage"> %message% <div id="%stateElementId%" style="float:right" ></div> </div> <div id="insert" /> Inner part of this element will be replaced according to message state with context of StateUnknown.html, StateSending.html, StateSent.html or StateError.html from Outgoing style folder. The StateUnknown means that the state of message isn't known (e.g. protocol doesn't support message acknowledgment) So Outgoing/StateSending.html could look like this: <img src="images/delivery-sending.gif" /> The StateError.html can also contain input button which will resend the message. To make it work it has to be input element and have to have id="%resendHandlerId%". e.g.: <input type="image" id="%resendHandlerId%" src="images/important.png" /> I think that StateError.html and StateSending.html is enough to add. You can see all states in Kopete chat style selection config dialog and message state is shown in Jabber, ICQ and AIM. My modified Kopete clear style is attached so you can look at it. Regards, Roman PS. At http://ajaxload.info/ you can generate nice sending icons. ["Clear-me.tar.bz2" (Clear-me.tar.bz2)] BZh91AY&SY60] &W Du$ k \ IUhaU[i%7c$;{RL\I&:̒NrmqjՁUv{ise ev[vn\rHsa m<ӹjjv[i۵9RljfEwusleuݷvڸ.i+6T1uenkmvZ3k \ UI=M14xLbbS&iF 2MFc&L2iiL5= 4 L@F)6MOL&44iA*daoe xO`'jm!Lё=1OLИM11 M&zhfқFO FMMO4Q?5&iD̘i=" U!4ddLɣ Aa Fj`j12iƚ2 M \ bzM4jz4Pd0#4И&0C`&#M0 &