[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: creating new mimetypes and changing the trash icon ( from empty to full )
From:       Carsten Pfeiffer <carpdjih () cetus ! zrz ! tu-berlin ! de>
Date:       2001-04-28 21:10:28
[Download RAW message or body]

On Samstag, 28. April 2001 23:49 Rafi Yanai wrote:

> 1) i added an option to delete to the user trash directory (  from
> KGlobalSettings::trashPath() )
>     the files are moved to this directory but if the trash can was empty
> the icon don't change...
>     i thought that the trash directory was controlled by a KDirLister that
> checks for new files
>     and change the icon, but apparently that's not the case ( at least on
> my system ).
>     so question 1: how can i change the trash can icon from empty to full ?

Hmm, dunno, David probably knows tho.

> 2) i ran into another problem when i added ACE archives support to
> Krusader: there is no mimetype
>     for ACE archives. and since i use the mimetypes system to identify and
> handle archives, i tried to
>     add another mimetype *in my code* but so far without success.
>     so, how so i create a new mimetype in my code or in Krusader install
> process ?
>     btw: i know it can be done from the control center, but i don't want
> users to configure
>             it themselves - i want ACE support "out of the box".

Have a look at kdelibs/mimetypes, there's all the .desktop files to set up 
mimetypes. Just install an ace.desktop with your application.

Cheers,
Carsten Pfeiffer
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic