New KIO::Slave: x-kde-icon

Luciano Montanaro mikelima at cirulla.net
Tue Jun 22 09:26:42 BST 2004


El 22:17, lunedì 21 giugno 2004, Frerich Raabe escribió:
> On Monday 21 June 2004 21:30, Marc Mutz wrote:
> > The problem:
> >
> >   When trying to write a decent handbook for a KDE app, you sooner or later
> >   stumble across the icon-issue. You would like to include the icons in the
> >   description of the menu item, or button, but you are faced with two
> > daunting tasks:
> >     1. Find the icons and copy them to the module/doc/app directory
> >     2. Maintain this sh*t when the icons change.
> >   Apart from that, the next icon theme makes the icons worthless. Even if
> > it was only installed locally.
> 
> I agree that this is a problem.
> 
> > The solution:
> >
> >   A kde-icon kioslave.
> 
> I think this is overengineered. Why not simply use a placeholder in the 
> docbook files, an entity as in
> 
> <imagedata fileref="&kde.icondir;fileopen.png"/>
> 
> Then, simply create a tiny file with one entity declaration at configure time 
> - and &kde.icondir; expands to the directory where the actual icons of the 
> application are stored. Include that file in kde-chunk.xsl, and then you 
> would have solved the "duplicate icons" problem as well, no?
> 
> - Frerich





More information about the kde-core-devel mailing list