Added simple launcher desktop file (will be used by cl-launcher).
authorRoman Moravcik <roman.moravcik@gmail.com>
Sat, 15 May 2010 13:59:58 +0000 (15:59 +0200)
committerRoman Moravcik <roman.moravcik@gmail.com>
Sat, 15 May 2010 13:59:58 +0000 (15:59 +0200)
data/Makefile.am
data/flashlight-applet-launcher.desktop.in.in [new file with mode: 0644]

index 79a81f4..37935ea 100644 (file)
@@ -25,6 +25,10 @@ images_DATA = statusarea_flashlight_on.png statusarea_flashlight_off.png
 desktopdir = $(HILDON_HOME_DESKTOP_DIR)
 desktop_in_files = flashlight-applet.desktop.in
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+
+launcherdir = $(datadir)/applications/hildon
+launcher_in_files = flashlight-applet-launcher.desktop.in
+launcher_DATA = $(launcher_in_files:.desktop.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
-DISTCLEANFILES = $(desktop_DATA)
+DISTCLEANFILES = $(desktop_DATA) $(launcher_DATA)
diff --git a/data/flashlight-applet-launcher.desktop.in.in b/data/flashlight-applet-launcher.desktop.in.in
new file mode 100644 (file)
index 0000000..93855b1
--- /dev/null
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+Name=Flashlight
+Exec=dbus-send --print-reply --dest=org.maemo.flashlight_applet /org/maemo/flashlight_applet org.maemo.flashlight_applet.enable
+Icon=statusarea_flashlight_on
+Type=Application
+X-Text-Domain=flashlight-applet
+NoDisplay=true
+