Add Actions (fixes the standard hence implementable part of bug #3178)
authorColin Leroy <colin@colino.net>
Tue, 27 May 2014 10:09:23 +0000 (12:09 +0200)
committerColin Leroy <colin@colino.net>
Tue, 27 May 2014 10:09:23 +0000 (12:09 +0200)
see http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#extra-actions-identifier

claws-mail.desktop

index 98509c8..116c9cb 100644 (file)
@@ -39,3 +39,17 @@ Type=Application
 StartupNotify=true
 MimeType=x-scheme-handler/mailto;
 X-Info=Claws Mail
 StartupNotify=true
 MimeType=x-scheme-handler/mailto;
 X-Info=Claws Mail
+
+Actions=GetMail;ComposeMail;SendFile;
+
+[Desktop Action GetMail]
+Exec=claws-mail --receive-all
+Name=Get Mail
+
+[Desktop Action ComposeMail]
+Exec=claws-mail --compose
+Name=Email...
+
+[Desktop Action SendFile]
+Exec=claws-mail --compose --attach %f
+Name=Send file...