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:
Christopher Michael 2007-03-31 09:06:31 +00:00
parent de1a239dfe
commit b2615cbc40
7 changed files with 7 additions and 10 deletions

View File

@ -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) \

View File

@ -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

View File

@ -148,7 +148,6 @@ AC_SUBST(e_modules)
AC_OUTPUT([
Makefile
module.desktop
images/Makefile
po/Makefile
e_modules-forecasts.spec

View File

@ -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;

4
module.desktop Normal file
View File

@ -0,0 +1,4 @@
[Desktop Entry]
Type=Link
Name=Forecasts
Icon=e-module-forecasts

View File

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

Binary file not shown.