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

List:       kde-devel
Subject:    Re: Enhance Trash can functionality
From:       Jonathan Hunt <jhuntnz () users ! sourceforge ! net>
Date:       2004-01-13 3:19:02
Message-ID: 200401131619.02774.jhuntnz () users ! sourceforge ! net
[Download RAW message or body]

Hi guys,

I have been looking at implementing trash can in KDE and have thought about it 
a little more and have some questions. 
First to make a trash ioslave for accessing the trash can what sort of URL 
scheme should I use? Eg:
trash:/
shows the users default trash can.
trash:/food
gives the file or dir named food in the default trash can.
But the URL needs to incorporate two other things.
1) The user may have 3 copies of a file named food in the trash can. How to 
differentiate between the two?
2) A way of telling the trash ioslave to use a different trash bin eg:
	trash://home/jjhunt/backupofold/.trash:/
   is what I was thinking of using.
Suggestions of a URL scheme are wanted.

Also looking at the konqueror source code I noticed that it only allows 
trashing of local files. I don't see why this limitation is necessary. 
Shouldn't it be possible to trash a remote file by copying it across the 
network to put in the local trash can (one day perhaps we will get version 
file systems that put the whole concept of trash can out of business - but 
until then this seems like a useful thing).
Further comments suggestions on how I should go about modifying konqueror 
welcome. I'll have a whack at it soon hopefully.

Cheers,
Jonny


-------------------------------------------------------

-- 
Jonathan Hunt (The Real Jonathan Hunt) <jhuntnz@users.sourceforge.net>
Jabber at jhuntnz@jabber.org
"He is no fool who gives what he cannot keep to gain what he cannot lose."
Jim Elliot

 
>> Visit http://mail.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