Trashcan behavior in KDE 3.4 beta1

Jes Hall jes.hall at kdemail.net
Tue Jan 18 06:18:29 GMT 2005


On Tue, 18 Jan 2005 18:03, Marcus wrote:
> How can I get the same trashcan behavior in KDE 3.4 beta1 that I had in
> previous versions. I figured out that putting a link to the URL trash:/
> will do part of the job, but the icon is the same whether the trash is
> empty or not. Is there a way to set the icon so that it reflects the status
> of the trash?

Have a look at the trash.desktop file. It should look something like this: 


[Desktop Action EmptyTrash]
Exec=ktrash --empty
Name=Empty Trash

[Desktop Entry]
Actions=EmptyTrash
Comment=Contains removed files
EmptyIcon=trashcan_empty
Encoding=UTF-8
Icon=trashcan_full
Name=Trash
Type=Link
URL=trash:/
X-KDE-Priority=TopLevel

Apart from that, I can't think of anything else that would cause it to not 
change the icon. 

-- 
Jes Hall
KDE Documentation Team: http://i18n.kde.org/doc
KDE FAQ: http://docs.kde.org/en/HEAD/kdebase/faq
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list