[Xfce4-commits] <parole:bluesabre/gtk3> Make quicklists translatable.
Sean Davis
noreply at xfce.org
Sun Aug 11 15:16:43 CEST 2013
Updating branch refs/heads/bluesabre/gtk3
to a47b185db236082cf7320fdf7b358d87370fa902 (commit)
from 5176011b2b43e12c329cd1b0faa3db53c6f56799 (commit)
commit a47b185db236082cf7320fdf7b358d87370fa902
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Sun Feb 24 15:53:22 2013 -0500
Make quicklists translatable.
data/desktop/Makefile.am | 2 +-
data/desktop/desktop.sh | 1 +
data/desktop/parole.desktop.in.in | 20 ++++++++++++++++++++
3 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/data/desktop/Makefile.am b/data/desktop/Makefile.am
index 948be75..bf8ae0a 100644
--- a/data/desktop/Makefile.am
+++ b/data/desktop/Makefile.am
@@ -9,7 +9,7 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
parole.desktop.in: parole.desktop.in.in desktop.sh $(MIME_LIST)
- cat $(srcdir)/parole.desktop.in.in > $@ &&\
+ head -n9 $(srcdir)/parole.desktop.in.in > $@ &&\
$(SHELL) $(srcdir)/desktop.sh $(MIME_LIST) >> $@
EXTRA_DIST = \
diff --git a/data/desktop/desktop.sh b/data/desktop/desktop.sh
index cb90ce5..9a1b9b0 100755
--- a/data/desktop/desktop.sh
+++ b/data/desktop/desktop.sh
@@ -11,6 +11,7 @@ for i in $MIMETYPES ; do
done
echo ""
+echo ""
echo "Actions=Play;Previous;Next;"
echo ""
echo "[Desktop Action Play]"
diff --git a/data/desktop/parole.desktop.in.in b/data/desktop/parole.desktop.in.in
index 9fc9279..a5d70e3 100644
--- a/data/desktop/parole.desktop.in.in
+++ b/data/desktop/parole.desktop.in.in
@@ -7,3 +7,23 @@ Terminal=false
Type=Application
Categories=GTK;AudioVideo;Player;Video;
StartupNotify=true
+
+Actions=Play;Previous;Next;
+
+[Desktop Action Play]
+Exec=parole --play
+_Name=Play/Pause
+Icon=media-playback-start
+OnlyShowIn=Unity;
+
+[Desktop Action Previous]
+Exec=parole --previous-track
+_Name=Previous Track
+Icon=media-skip-backward
+OnlyShowIn=Unity;
+
+[Desktop Action Next]
+Exec=parole --next-track
+_Name=Next Track
+Icon=media-skip-forward
+OnlyShowIn=Unity;
More information about the Xfce4-commits
mailing list