Re: Nautilus as a drop target
- From: "Robin Stocker" <robin nibor org>
- To: "Damien Moore" <damienlmoore gmail com>
- Cc: nautilus-list gnome org, Xavier Bestel <xavier bestel free fr>
- Subject: Re: Nautilus as a drop target
- Date: Wed, 17 Feb 2010 09:34:28 +0100
Zitat von "Damien Moore" <damienlmoore gmail com>:
On Tue, Feb 16, 2010 at 11:39 AM, Xavier Bestel
<xavier bestel free fr> wrote:
You want to implement XDS.
See this bug: https://bugzilla.gnome.org/show_bug.cgi?id=171655
Is this because XDS is the only way, or just the best way?
You can also just provide the URI of the file to Nautilus. This is
what drag and drop of a video from Totem does.
See the call to gtk_drag_source_set in totem_action_set_mrl_with_warning:
http://git.gnome.org/browse/totem/tree/src/totem-object.c#n1768
Setting the URI happens in drag_video_cb:
http://git.gnome.org/browse/totem/tree/src/totem-object.c#n2343
You can probably use gtk_selection_data_set_uris to set multiple URIs.
Regards,
Robin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]