As per saturn's request, convert forecasts module to use new .desktop stuff
for efreet so that the module shows in the list. SVN revision: 29275
This commit is contained in:
parent
de1a239dfe
commit
b2615cbc40
|
@ -11,7 +11,7 @@ EDJE_FLAGS = -v \
|
|||
filesdir = $(datadir)
|
||||
|
||||
files_DATA = module.desktop \
|
||||
module.edj \
|
||||
e-module-forecasts.edj \
|
||||
forecasts.edj
|
||||
|
||||
EXTRA_DIST = $(files_DATA) \
|
||||
|
|
|
@ -5,6 +5,7 @@ rm -f aclocal.m4 ltmain.sh
|
|||
|
||||
touch README
|
||||
|
||||
echo "Running autopoint..." ; autopoint -f || :
|
||||
echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS || exit 1
|
||||
echo "Running autoheader..." ; autoheader || exit 1
|
||||
echo "Running autoconf..." ; autoconf || exit 1
|
||||
|
|
|
@ -148,7 +148,6 @@ AC_SUBST(e_modules)
|
|||
|
||||
AC_OUTPUT([
|
||||
Makefile
|
||||
module.desktop
|
||||
images/Makefile
|
||||
po/Makefile
|
||||
e_modules-forecasts.spec
|
||||
|
|
|
@ -248,7 +248,7 @@ _gc_icon(Evas * evas)
|
|||
char buf[4096];
|
||||
|
||||
o = edje_object_add(evas);
|
||||
snprintf(buf, sizeof(buf), "%s/module.edj",
|
||||
snprintf(buf, sizeof(buf), "%s/e-module-forecasts.edj",
|
||||
e_module_dir_get(forecasts_config->module));
|
||||
edje_object_file_set(o, buf, "icon");
|
||||
return o;
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[Desktop Entry]
|
||||
Type=Link
|
||||
Name=Forecasts
|
||||
Icon=e-module-forecasts
|
|
@ -1,7 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=Forecasts
|
||||
Exec=enlightenment
|
||||
StartupNotify=false
|
||||
X-Enlightenment-WaitExit=false
|
||||
X-Enlightenment-IconClass=forecasts,gadget
|
||||
Icon=./module.edj
|
BIN
module.edj
BIN
module.edj
Binary file not shown.
Loading…
Reference in New Issue