After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 611858 - [Patch] Get notes's path via drag and drop
[Patch] Get notes's path via drag and drop
Status: RESOLVED FIXED
Product: tomboy
Classification: Applications
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Tomboy Maintainers
Tomboy Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-03-05 01:38 UTC by Olivier Le Thanh Duong
Modified: 2010-03-15 15:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
first patch (2.31 KB, patch)
2010-03-05 13:12 UTC, Olivier Le Thanh Duong
none Details | Review
second patch (1.05 KB, patch)
2010-03-05 13:13 UTC, Olivier Le Thanh Duong
none Details | Review

Description Olivier Le Thanh Duong 2010-03-05 01:38:08 UTC
Hi,

I'm working on a Tomboy addin to easily share note via Empathy by simply drag and dropping it on your contact window. To send the note Empathy need to have it's full location, however Tomboy send tomboy:// uri when requestied a text/uri-list via drag and drop. In order not to break other applications relying on this feature this patch add a text/path-list type for drag and drop which act like text/uri-list but return the full path of the notes.

The patch is located in this branch
http://git.collabora.co.uk/?p=user/olethanh/empathy.git;a=shortlog;h=refs/heads/dnd
The second commit correct both lists to adhere to the standard of having each line terminated by "\r\n" in accordance to : http://www.ietf.org/rfc/rfc2483.txt

Regards,
Olivier
Comment 1 Olivier Le Thanh Duong 2010-03-05 12:59:40 UTC
Sorry the correct link was http://git.collabora.co.uk/?p=user/olethanh/tomboy.git;a=shortlog;h=refs/heads/dnd
Comment 2 Olivier Le Thanh Duong 2010-03-05 13:12:47 UTC
Created attachment 155307 [details] [review]
first patch
Comment 3 Olivier Le Thanh Duong 2010-03-05 13:13:10 UTC
Created attachment 155308 [details] [review]
second patch
Comment 4 Sandy Armstrong 2010-03-15 15:31:35 UTC
Thanks, pushed!

As discussed in IRC, this may go away in the future if we move away from storing Tomboy notes in individual XML files.

Tomboy, Empathy, and Telepathy developers are committed to working together to improve note sharing and collaboration in future releases.