If the 'copy' operation will be enabled in file-chooser, 'delete'
'rename', 'cut' and other operations will also be required, thus make
the file-chooser too complicate. I'm afraid these requirement will lead
it to a small file-manager...

By the way using  'gdk_atom_intern ("x-special/gnome-copied-files",
FALSE)' will meet your requirement.
Set the content of the gtk_clipboard to ("copy\n%s', file_uri)
You can try the codes in
nautilus/src/file-manager/fm-directory-view.c:copy_or_cut_files.

>>> 明覺 <shi.min...@gmail.com> 05/18/09 4:44 下午 >>>
2009/5/18 Jordi Hernández Puigdellívol <guitarboy...@gmail.com>:
> Hi,
> I would like to know if it is possible to enable the copy option in
the file
> selection dialog.
> I'm developing gloobus (http://gloobus.wordpress.com)
> , it is a preview application that now works, ctrl+c the file, and
> ctrl+space.
> Since in the chose file dialog the preview is very important, it would
be
> great to have it.
>
> In the other side, it would be better, a DBUS support, so the selected
files
> could be retieved just asking it by d-bus.
>
>
> Is it hard to do? can I do it by myself or I need to know so many
things
> about nautilus?
I also want it, hope it will be as good as windows, with almost all
the possible functions.
>
> Thanks!
>
> --
> Jordi Hernández Puigdellívol
>
> --
> nautilus-list mailing list
> nautilus-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/nautilus-list
>



-- 
我的操作系統是Gnu/Linux Debian/gNewSense Gnome Mozilla Gmail/Evolution
Gtkmm/Gtkglextmm Scim Totem Pidgin.

--
nautilus-list mailing list
nautilus-list@gnome.org
http://mail.gnome.org/mailman/listinfo/nautilus-list

Reply via email to