.desktopification.

SVN revision: 25912
This commit is contained in:
David Walter Seikel 2006-09-17 13:18:12 +00:00
parent 87cb60beab
commit 395870bdc0
6 changed files with 16 additions and 5 deletions

View File

@ -21,4 +21,5 @@ stamp-h1
*.la
*.spec
*.tar.gz
*.edj
cpu.edj
module.desktop

View File

@ -7,14 +7,16 @@ EDJE_FLAGS = -v \
files_DATA = \
module_icon.png \
module.eap \
module.desktop \
module.edj \
cpu.edj
EXTRA_DIST = $(files_DATA) \
cpu.edc \
VeraMono.ttf \
cpu.png \
module.eap
module.desktop \
module.edj
# data files for the module
filesdir = $(datadir)
@ -38,7 +40,7 @@ module_la_DEPENDENCIES = $(top_builddir)/config.h
$(EDJE_CC) $(EDJE_FLAGS) $< $@
clean-local:
rm -rf *.edj *~
rm -rf cpu.edj *~
uninstall:
rm -rf $(datadir)

View File

@ -142,6 +142,7 @@ AC_SUBST(e_modules)
AC_OUTPUT([
Makefile
module.desktop
],[
])

View File

@ -137,7 +137,7 @@ _gc_icon(Evas *evas)
if (!cpu_conf->module) return NULL;
snprintf(buf, sizeof(buf), "%s/module.eap",
snprintf(buf, sizeof(buf), "%s/module.edj",
e_module_dir_get(cpu_conf->module));
o = edje_object_add(evas);

7
module.desktop.in Normal file
View File

@ -0,0 +1,7 @@
[Desktop Entry]
Name=Cpu
Exec=enlightenment
StartupNotify=false
X-Enlightenment-WaitExit=false
X-Enlightenment-IconClass=cpu,gadget
Icon=./module.edj