Bug 2346 - Please register x-handler-scheme in .desktop file
Summary: Please register x-handler-scheme in .desktop file
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.7.8
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2011-01-17 20:24 UTC by Laurent Bigonville
Modified: 2011-01-21 12:20 UTC (History)
0 users

See Also:


Attachments
patch (228 bytes, patch)
2011-01-17 20:24 UTC, Laurent Bigonville
no flags Details | Diff

Description Laurent Bigonville 2011-01-17 20:24:35 UTC
Created attachment 935 [details]
patch

Hi,

The .desktop file should define MimeType=x-scheme-handler/mailto; to allow GNOME3 to use claws to be opened when a mailto: link is clicked


More information:
http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html#id2869854
Comment 1 users 2011-01-19 22:19:35 UTC
Changes related to this bug have been committed.
Please check latest CVS and update the bug accordingly.
You can also get the patch from:
http://www.colino.net/claws-mail/

2011-01-19 [pawel]	3.7.8cvs38

	* claws-mail.desktop
		Fix Bug 2346 'Please register x-handler-scheme
		 in .desktop file' patch by Laurent Bigonville
		While I'm here update things to current
		standards, fix desktop-file-validate warnings/errors
Comment 2 Colin Leroy 2011-01-20 09:08:20 UTC
Thanks!
Comment 3 Laurent Bigonville 2011-01-20 23:11:48 UTC
Hi,

Sorry for reopening this bug but the

Exec line should have contained a %U or %u to pass arguments to claws-mail

 -Exec=claws-mail
 +Exec=claws-mail %u

Not really sure about the difference between %U and %u and which one should be used here

http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-0.9.4.html#exec-variables
Comment 4 users 2011-01-21 10:04:34 UTC
Changes related to this bug have been committed.
Please check latest CVS and update the bug accordingly.
You can also get the patch from:
http://www.colino.net/claws-mail/

2011-01-21 [colin]	3.7.8cvs40

	* claws-mail.desktop
		Fix again bug #2346: We should have a %u parameter.
Comment 5 Laurent Bigonville 2011-01-21 12:20:57 UTC
Looks ok now, closing the bug

Note You need to log in before you can comment on or make changes to this bug.