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

List:       kde-devel
Subject:    Re: Enhance Trash can functionality
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2004-01-12 17:25:07
Message-ID: 200401121025.08506.aseigo () kde ! org
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 11 January 2004 06:41, Jonathan Hunt wrote:
> I wrote quite awhile back about improving the functionality of the trash
> can in KDE (allowing multiple files of the same name, restoring files etc).
> After a few emails I decide that in the interests of compatibilty (ie with
> GNOME project etc) the underlying library would need to be written in C. I
> have finally gotten enough time together to complete this.
> For those who are interested you can find my project at
> http://tra.sourceforge.net . There you can download a copy of the GPL

cool.. i've grabbed the source and will look at it later, hopefully with some 
feedback...

> I just wanted to check my plan of attack is the "KDE" way. I plan to write
> a trashbin io slave so that files in the trash can be viewed etc thru
> konqueror. Then I need to change konqueror so that the move to trash
> command run "tra" instead of move. Presumbably this is a very basic change.

yes... but instead of having it run the command, have it use trash:/ (which 
then seperates it from the implementation detail of what is actually behind 
it and makes it usable elsewhere as an ioslave) ...

> But then is it possible to make konqueror's right click menu (or action
> menu) context sensitive. I notice it is for devices (ie right click on
> shortcut to CDROM and u have the mount and unmount options).

if the trash is actually in a hidden dir then we can supply an icon that links 
to trash:/ ... as for making the .trash dir have appropriate context menu 
Action entries, you can put servicemenus directly in ~/.trash/.directory and 
they'll show up...

- -- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43
while (!horse()); cart();
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQFAAth01rcusafx20MRAoZOAJ9Jp+qw+3oyaFpIGe13TfKXDR10/QCdG9CF
n06x+Re+qKxfM0jknU70YuI=
=A95F
-----END PGP SIGNATURE-----
 
>> 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