projects
/
ejpi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f980e56
)
Forcing absolute path for icons like other people
author
Ed Page
<eopage@byu.net>
Sat, 13 Aug 2011 16:40:27 +0000
(11:40 -0500)
committer
Ed Page
<eopage@byu.net>
Sat, 13 Aug 2011 16:42:11 +0000
(11:42 -0500)
Makefile
patch
|
blob
|
history
data/template.desktop
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
156c83e
..
0d217b3
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-144,6
+144,7
@@
$(DESKTOP_FILES): data/template.desktop
cog.py -d \
-D VARIANT=$(VARIANT) \
-D PROGRAM=$(PROGRAM) \
+ -D ICON_NAME=$(PROJECT_NAME) \
-o $@ $<
diff --git
a/data/template.desktop
b/data/template.desktop
index
6ba3942
..
ecfe3b2
100644
(file)
--- a/
data/template.desktop
+++ b/
data/template.desktop
@@
-11,10
+11,15
@@
Comment=RPN Calculator
# cog.outl("Exec=/usr/local/bin/%s" % PROGRAM)
# else:
# raise RuntimeError("Unsupported desktop file flavor %r" % PROGRAM)
+#
+# if VARIANT == "harmattan":
+# cog.outl("Icon=/usr/share/icons/apps/64x64/%s.png" % ICON_NAME)
+# else:
+# cog.outl("Icon=%s" % ICON_NAME)
#]]]
Exec=/usr/local/bin/ejpi-calc
-#[[[end]]]
Icon=ejpi
+#[[[end]]]
Categories=Engineering;Science;Education;Utility;Qt;
Type=Application
Encoding=UTF-8