[hamster-applet] hint the icon for the process by having a hidden main menu item



commit 25d1b7d676ec05096a4a28a75fe12998990168d4
Author: Toms Bauģis <toms baugis gmail com>
Date:   Thu Jul 15 16:40:30 2010 +0100

    hint the icon for the process by having a hidden main menu item

 data/hamster-applet.desktop.in.in |   10 ++++++++++
 data/wscript_build                |    8 +++++++-
 po/POTFILES.in                    |    1 +
 3 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/data/hamster-applet.desktop.in.in b/data/hamster-applet.desktop.in.in
new file mode 100644
index 0000000..bae3068
--- /dev/null
+++ b/data/hamster-applet.desktop.in.in
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Terminal=false
+_Name=Time Tracker
+_Comment=Project Hamster - track your time
+Icon=hamster-applet
+Exec= LIBDIR@/hamster-applet/hamster-applet
+Categories=GNOME;GTK;Utility;
+NoDisplay=true
diff --git a/data/wscript_build b/data/wscript_build
index 1e59671..4142513 100644
--- a/data/wscript_build
+++ b/data/wscript_build
@@ -21,6 +21,12 @@ bld(features = "subst",
    )
 
 bld(features = "subst",
+    source= "hamster-applet.desktop.in.in",
+    target= "hamster-applet.desktop.in",
+    dict = bld.env
+   )
+
+bld(features = "subst",
     source= "Hamster_Applet.server.in.in",
     target= "Hamster_Applet.server.in",
     dict = bld.env
@@ -36,7 +42,7 @@ bld(features = 'intltool_in',
     flags    = ['-s', '-u', '-c'])
 
 bld(features = 'intltool_in',
-    source   = 'hamster-standalone.desktop.in',
+    source   = 'hamster-standalone.desktop.in hamster-applet.desktop.in',
     install_path = '${DATADIR}/applications',
     podir    = '../po',
     flags    = ['-d', '-q', '-u', '-c'])
diff --git a/po/POTFILES.in b/po/POTFILES.in
index e677d65..14ef7fd 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -4,6 +4,7 @@ data/90-hamster-applet.xml.in
 data/hamster-applet.schemas.in
 data/Hamster_Applet.server.in.in
 data/Hamster_Applet.xml
+data/hamster-applet.desktop.in.in
 data/hamster-standalone.desktop.in.in
 [type: gettext/glade]data/applet.ui
 [type: gettext/glade]data/edit_activity.ui



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]