Bug 2450 - Add "Compose new mail" option in Messaging menu
Summary: Add "Compose new mail" option in Messaging menu
Status: REOPENED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.7.9
Hardware: PC Linux
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2011-06-11 14:51 UTC by LordPhoenix
Modified: 2011-08-06 02:28 UTC (History)
0 users

See Also:


Attachments

Description LordPhoenix 2011-06-11 14:51:54 UTC
To add an option 
Comment 1 users 2011-07-07 22:36: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-07-07 [holger]	3.7.9cvs35

	* claws-mail.desktop
		Add indicator stuff to the desktop file
		Taken from bug #2450
Comment 2 Holger Berndt 2011-07-07 22:41:46 UTC
Thanks, applied.
Comment 3 Brian Morrison 2011-07-21 01:32:18 UTC
I now get this error during build:

+ desktop-file-install --vendor=fedora --dir=/home/bdm/rpmbuild/BUILDROOT/claws-mail-3.7.9cvs36-0.x86_64/usr/share/applications --add-category=X-Fedora /home/bdm/rpmbuild/SOURCES/claws-mail-3.7.9cvs36/claws-mail.desktop
/home/bdm/rpmbuild/BUILDROOT/claws-mail-3.7.9cvs36-0.x86_64/usr/share/applications/fedora-claws-mail.desktop: error: (will be fatal in the future): value "Email" in key "Categories" in group "Desktop Entry" requires another category to be present among the following categories: Office;Network
/home/bdm/rpmbuild/BUILDROOT/claws-mail-3.7.9cvs36-0.x86_64/usr/share/applications/fedora-claws-mail.desktop: warning: value "x-scheme-handler/mailto;" for key "MimeType" in group "Desktop Entry" contains value "x-scheme-handler/mailto" which is a MIME type that should probably not be used: the use of "x-scheme-handler" as media type is strongly discouraged in favor of a subtype of the "application" media type
/home/bdm/rpmbuild/BUILDROOT/claws-mail-3.7.9cvs36-0.x86_64/usr/share/applications/fedora-claws-mail.desktop: error: file contains group "Compose Shortcut Group", but groups extending the format should start with "X-"
Error on file "/home/bdm/rpmbuild/SOURCES/claws-mail-3.7.9cvs36/claws-mail.desktop": Failed to validate the created desktop file
error: Bad exit status from /home/bdm/rpmbuild/tmp/rpm-tmp.ATJgGy (%install)

Any ideas what needs to be done to fix it, it may be that Fedora
expects different syntax or structure I suppose.

In any case, the new version is broken for Fedora, so really ought to be fixed.
Comment 4 Paul 2011-07-21 07:58:07 UTC
AFAIK, these changes need desktop-file-utils >= 0.18
Comment 5 Brian Morrison 2011-07-21 17:14:46 UTC
F14 is currently using desktop-file-utils-0.16, F15 seems to have 0.18 available so some sort of conditional compilation is needed.
Comment 6 users 2011-08-06 01:54: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-08-05 [holger]	3.7.9cvs40

	* claws-mail.desktop
		Revert 3.7.9cvs35 for now, it may be problematic
		(see bug #2450)

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