Bug 92579

Summary: Possibility to access contact icons and avatars from the style xsl sheet
Product: [Applications] kopete Reporter: Bruno <bvirlet>
Component: Chatwindow StylesAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: SVN   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:

Description Bruno 2004-11-02 15:06:05 UTC
Version:           CVS (using KDE KDE 3.3.1)
Installed from:    Slackware Packages

Following a chat with lilachaze on IRC, it would be nice to be able to use something like this in the XSL style sheet (<img><xsl:attribute name="src">kopete-contact-icon:<xsl:value-of select="from/contact/@contactId"></xsl:attribute></img>) to access the metacontact icon.
Comment 1 Richard Smith 2004-11-02 15:32:47 UTC
The following should be accessible from chat window styles:

The buddy icon (once we get proper support for it)
The metacontact icon
The contact icon

Can anyone think of any more?
The easiest way of doing the above is probably using the mime source factory, if KHTML supports that.
Comment 2 GML 2004-11-14 12:44:43 UTC
I've the ichat style in my kopete http://www.kde-look.org/content/show.php?content=11265 , I'm interressing :).
it's a good idea to use the metacontact icon, because this functionality have been combinated with : http://bugs.kde.org/show_bug.cgi?id=80566
Comment 3 GML 2005-03-28 15:42:41 UTC
this whishlist report are fixed in kopete 0.10 (for example this style http://www.kde-look.org/content/show.php?content=22271 uses this feature)
Close it please.
Comment 4 Olivier Goffart 2005-03-28 19:22:26 UTC
Yes, this is now possible in KDE 3.4