parent
87cb60beab
commit
395870bdc0
|
@ -21,4 +21,5 @@ stamp-h1
|
|||
*.la
|
||||
*.spec
|
||||
*.tar.gz
|
||||
*.edj
|
||||
cpu.edj
|
||||
module.desktop
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -142,6 +142,7 @@ AC_SUBST(e_modules)
|
|||
|
||||
AC_OUTPUT([
|
||||
Makefile
|
||||
module.desktop
|
||||
],[
|
||||
])
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Name=Cpu
|
||||
Exec=enlightenment
|
||||
StartupNotify=false
|
||||
X-Enlightenment-WaitExit=false
|
||||
X-Enlightenment-IconClass=cpu,gadget
|
||||
Icon=./module.edj
|
Loading…
Reference in New Issue