[Goodies-commits] r5677 - in xfce4-screenshooter-plugin/trunk: . src
Jerome Guelfucci
jeromeg at xfce.org
Sat Oct 18 18:29:40 CEST 2008
Author: jeromeg
Date: 2008-10-18 16:29:40 +0000 (Sat, 18 Oct 2008)
New Revision: 5677
Added:
xfce4-screenshooter-plugin/trunk/src/xfce4-screenshooter.desktop.in.in
Modified:
xfce4-screenshooter-plugin/trunk/ChangeLog
xfce4-screenshooter-plugin/trunk/src/Makefile.am
Log:
Add .desktop file for the main application.
Modified: xfce4-screenshooter-plugin/trunk/ChangeLog
===================================================================
--- xfce4-screenshooter-plugin/trunk/ChangeLog 2008-10-18 11:06:32 UTC (rev 5676)
+++ xfce4-screenshooter-plugin/trunk/ChangeLog 2008-10-18 16:29:40 UTC (rev 5677)
@@ -1,3 +1,8 @@
+2008-10-18 jeromeg
+
+ * src/Makefile.am: install desktop file for the main application.
+ * src/xfce4-screenshooter.desktop.in.in: desktop file for main application.
+
2008-10-15 jeromeg
* src/main.c: destroy the dialog before taking the screenshot of the active
Modified: xfce4-screenshooter-plugin/trunk/src/Makefile.am
===================================================================
--- xfce4-screenshooter-plugin/trunk/src/Makefile.am 2008-10-18 11:06:32 UTC (rev 5676)
+++ xfce4-screenshooter-plugin/trunk/src/Makefile.am 2008-10-18 16:29:40 UTC (rev 5677)
@@ -39,21 +39,32 @@
# We also need to let intltool merge the translated fields, so we add an
# additional level of indirection: a <name>.desktop.in.in file.
#
-desktop_in_in_files = screenshooter.desktop.in.in
-desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
+desktop_plugin_in_in_files = screenshooter.desktop.in.in
+desktop_plugin_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
-desktopdir = $(datadir)/xfce4/panel-plugins
-desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+desktop_plugindir = $(datadir)/xfce4/panel-plugins
+desktop_plugin_DATA = $(desktop_plugin_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
# get full path into .desktop file
-%.desktop.in: %.desktop.in.in
+screenshooter.desktop.in: screenshooter.desktop.in.in
sed -e "s^@PLUGIN_PATH@^$(libexecdir)/xfce4/panel-plugins^" \
$< > $@
+
+desktop_in_in_files = xfce4-screenshooter.desktop.in.in
+desktop_in_files = $(desktop_in_in_files:.desktop.in.in=.desktop.in)
+desktopdir = $(datadir)/applications
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+ at INTLTOOL_DESKTOP_RULE@
+
+# Get full path into .desktop file
+xfce4-screenshooter.desktop.in: xfce4-screenshooter.desktop.in.in
+ sed -e "s^@PLUGIN_PATH@^$(libexecdir)/applications^" \
+ $< > $@
EXTRA_DIST = \
- $(desktop_in_in_files)
+ $(desktop_plugin_in_in_files) $(desktop_plugin_in_in_files)
DISTCLEANFILES = \
- $(desktop_DATA) $(desktop_in_files)
+ $(desktop_DATA) $(desktop_plugin_in_files) desktop_plugin_in_files
Added: xfce4-screenshooter-plugin/trunk/src/xfce4-screenshooter.desktop.in.in
===================================================================
--- xfce4-screenshooter-plugin/trunk/src/xfce4-screenshooter.desktop.in.in (rev 0)
+++ xfce4-screenshooter-plugin/trunk/src/xfce4-screenshooter.desktop.in.in 2008-10-18 16:29:40 UTC (rev 5677)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+_Name=Screenshot Tool
+_Comment=A tool to take screenshots of your desktop or of the active windows
+Icon=applets-screenshooter
+Exec=xfce4-screenshooter
+Type=Application
+StartupNotify=true
+Terminal=false
+Categories=GTK;Utility;
More information about the Goodies-commits
mailing list