[hamster-applet] add a desktop entry for overview so it can be activated via shell
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet] add a desktop entry for overview so it can be activated via shell
- Date: Sun, 23 Oct 2011 15:26:15 +0000 (UTC)
commit 95dd8230e0ee4c259a1ee5d5f5a7e9c15286a92e
Author: Toms BauÄis <toms baugis gmail com>
Date: Sun Oct 23 10:21:33 2011 -0500
add a desktop entry for overview so it can be activated via shell
data/hamster-time-tracker-overview.desktop.in.in | 9 +++++++
data/wscript_build | 28 ++++++++-------------
2 files changed, 20 insertions(+), 17 deletions(-)
---
diff --git a/data/hamster-time-tracker-overview.desktop.in.in b/data/hamster-time-tracker-overview.desktop.in.in
new file mode 100644
index 0000000..419e730
--- /dev/null
+++ b/data/hamster-time-tracker-overview.desktop.in.in
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Terminal=false
+_Name=Time Tracking Overview
+_Comment=The overview window of hamster time tracker
+Icon=hamster-applet
+Exec= BINDIR@/hamster-time-tracker overview
+Categories=GNOME;GTK;Utility;
diff --git a/data/wscript_build b/data/wscript_build
index 38d1973..9d45396 100644
--- a/data/wscript_build
+++ b/data/wscript_build
@@ -13,23 +13,16 @@ bld.install_files('${DATADIR}/icons/hicolor/48x48/apps', 'art/scalable/hamster
bld.install_files('${DATADIR}/icons/hicolor/scalable/apps','art/scalable/hamster-applet.svg')
-bld(features = "subst",
- source= "hamster-applet.desktop.in.in",
- target= "hamster-applet.desktop.in",
- dict = bld.env
- )
-
-bld(features = "subst",
- source= "hamster-time-tracker.desktop.in.in",
- target= "hamster-time-tracker.desktop.in",
- dict = bld.env
- )
-
-bld(features = "subst",
- source= "Hamster_Applet.server.in.in",
- target= "Hamster_Applet.server.in",
- dict = bld.env
- )
+for filename in ["hamster-applet.desktop",
+ "hamster-time-tracker.desktop",
+ "hamster-time-tracker-overview.desktop",
+ "Hamster_Applet.server"]:
+ bld(features = "subst",
+ source= "%s.in.in" % filename,
+ target= "%s.in" % filename,
+ dict = bld.env
+ )
+
bld.add_group()
@@ -48,6 +41,7 @@ bld(features = 'intltool_in',
bld(features = 'intltool_in',
source = """hamster-time-tracker.desktop.in
+ hamster-time-tracker-overview.desktop.in
hamster-applet.desktop.in""",
install_path = '${DATADIR}/applications',
podir = '../po',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]