Make it visible again.

SVN revision: 30146
This commit is contained in:
David Walter Seikel 2007-05-29 15:53:36 +00:00
parent 22c48f729c
commit 25e68c1a32
6 changed files with 8 additions and 10 deletions

View File

@ -116,7 +116,6 @@ AC_CONFIG_FILES([Makefile
e_modules-moon.spec e_modules-moon.spec
data/Makefile data/Makefile
data/themes/Makefile data/themes/Makefile
data/themes/module.desktop
data/themes/images/Makefile data/themes/images/Makefile
po/Makefile po/Makefile
src/Makefile]) src/Makefile])

View File

@ -1,4 +1,3 @@
Makefile Makefile
Makefile.in Makefile.in
*.edj *.edj
module.desktop

View File

@ -13,7 +13,7 @@ EDJE_FLAGS = \
filesdir = $(moduledir)/$(PACKAGE) filesdir = $(moduledir)/$(PACKAGE)
files_DATA = \ files_DATA = \
module.desktop \ module.desktop \
module.edj \ e-module-moon.edj \
moon.edj moon.edj
EXTRA_DIST = \ EXTRA_DIST = \
@ -25,11 +25,10 @@ moon.edj: Makefile $(EXTRA_DIST)
$(top_srcdir)/data/themes/moon.edc \ $(top_srcdir)/data/themes/moon.edc \
moon.edj moon.edj
module.edj: Makefile $(EXTRA_DIST) e-module-moon.edj: Makefile $(EXTRA_DIST)
$(EDJE_CC) $(EDJE_FLAGS) \ $(EDJE_CC) $(EDJE_FLAGS) \
$(top_srcdir)/data/themes/icon.edc \ $(top_srcdir)/data/themes/icon.edc \
module.edj e-module-moon.edj
clean-local: clean-local:
rm -rf moon.edj; rm -rf *.desktop rm -rf moon.edj

View File

@ -1,5 +1,6 @@
[Desktop Entry] [Desktop Entry]
Type=Link
Name=Moon Name=Moon
GenericName=gadget GenericName=gadget
Comment=Moon phase module for e17 Comment=Moon phase module for e17
Icon=./module.edj Icon=e-module-moon

View File

@ -97,7 +97,7 @@ moon_config_dialog_show(Evas_Object *o)
v->advanced.create_widgets = NULL; v->advanced.create_widgets = NULL;
con = e_container_current_get(e_manager_current_get()); con = e_container_current_get(e_manager_current_get());
snprintf(buf, sizeof(buf), "%s/module.edj", e_module_dir_get(module)); snprintf(buf, sizeof(buf), "%s/e-module-moon.edj", e_module_dir_get(module));
cfd = e_config_dialog_new(con, D_("Moon Configuration"), "Moon", "_e_modules_moon_config_dialog", buf, 0, v, o); cfd = e_config_dialog_new(con, D_("Moon Configuration"), "Moon", "_e_modules_moon_config_dialog", buf, 0, v, o);
moon_config->config_dialog = cfd; moon_config->config_dialog = cfd;
} }

View File

@ -224,7 +224,7 @@ _gc_icon(Evas *evas)
char buf[4096]; char buf[4096];
o = edje_object_add(evas); o = edje_object_add(evas);
snprintf(buf, sizeof(buf), "%s/module.edj", e_module_dir_get(_module)); snprintf(buf, sizeof(buf), "%s/e-module-moon.edj", e_module_dir_get(_module));
edje_object_file_set(o, buf, "icon"); edje_object_file_set(o, buf, "icon");
return o; return o;
} }