From 24d3a650ca79398bdf75373b22ce5bf3c85bbf5c Mon Sep 17 00:00:00 2001 From: David Sansome Date: Sat, 16 Apr 2011 13:32:02 +0000 Subject: [PATCH] Add quicklist items to the Unity launcher. Thanks motorslav. Fixes issue 1761 --- dist/clementine.desktop | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) mode change 100644 => 100755 dist/clementine.desktop diff --git a/dist/clementine.desktop b/dist/clementine.desktop old mode 100644 new mode 100755 index 1903d6692..be39f3878 --- a/dist/clementine.desktop +++ b/dist/clementine.desktop @@ -13,3 +13,29 @@ Terminal=false Categories=AudioVideo;Player;Qt; StartupNotify=false MimeType=application/ogg;application/x-ogg;application/x-ogm-audio;audio/aac;audio/mp4;audio/mpeg;audio/mpegurl;audio/ogg;audio/vnd.rn-realaudio;audio/vorbis;audio/x-flac;audio/x-mp3;audio/x-mpeg;audio/x-mpegurl;audio/x-ms-wma;audio/x-musepack;audio/x-oggflac;audio/x-pn-realaudio;audio/x-scpls;audio/x-speex;audio/x-vorbis;audio/x-vorbis+ogg;audio/x-wav;video/x-ms-asf;x-content/audio-player; +X-Ayatana-Desktop-Shortcuts=Play;Pause;Stop;Previous;Next; + +[Play Shortcut Group] +Name=Play +Exec=clementine --play +TargetEnvironment=Unity + +[Pause Shortcut Group] +Name=Pause +Exec=clementine --pause +TargetEnvironment=Unity + +[Stop Shortcut Group] +Name=Stop +Exec=clementine --stop +TargetEnvironment=Unity + +[Previous Shortcut Group] +Name=Previous +Exec=clementine --previous +TargetEnvironment=Unity + +[Next Shortcut Group] +Name=Next +Exec=clementine --next +TargetEnvironment=Unity