[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: David Faure <david () mandrakesoft ! com>
Date: 2001-04-30 19:58:57
[Download RAW message or body]
On Saturday 28 April 2001 17:49, Rafi Yanai wrote:
> hi,
>
> i'm developing a file-manager for KDE 2.x ( Krusader ) and i have 2
> questions:
>
> 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 ?
Use the KDirNotify interface, FilesChanged specifically.
The code that does it for konqueror is in kdebase/libkonq/konq_operations.cc
--
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today
>> 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