Convert cpu module to new desktop stuff.

SVN revision: 29264
This commit is contained in:
Christopher Michael 2007-03-30 21:14:54 +00:00
parent 0c1917ed45
commit f94a724613
6 changed files with 7 additions and 12 deletions

View File

@ -7,15 +7,13 @@ EDJE_FLAGS = -v \
files_DATA = \
module.desktop \
module.edj \
e-module-cpu.edj \
cpu.edj
EXTRA_DIST = $(files_DATA) \
cpu.edc \
VeraMono.ttf \
cpu.png \
module.desktop \
module.edj \
e_modules-cpu.spec
# data files for the module

View File

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

View File

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

5
module.desktop Normal file
View File

@ -0,0 +1,5 @@
[Desktop Entry]
Type=Link
Name=Cpu
Icon=e-module-cpu

View File

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