.desktopification. I'm over the moon, but not in a good way.

SVN revision: 25922
This commit is contained in:
David Walter Seikel 2006-09-17 15:12:59 +00:00
parent a6c7f125b0
commit a8401e98fc
7 changed files with 14 additions and 14 deletions

View File

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

View File

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

View File

@ -12,7 +12,8 @@ EDJE_FLAGS = \
# data files for the module
filesdir = $(moduledir)/$(PACKAGE)
files_DATA = \
module.eap \
module.desktop \
module.edj \
moon.edj
EXTRA_DIST = \
@ -24,17 +25,11 @@ moon.edj: Makefile $(EXTRA_DIST)
$(top_srcdir)/data/themes/moon.edc \
moon.edj
module.eap: Makefile $(EXTRA_DIST)
module.edj: Makefile $(EXTRA_DIST)
$(EDJE_CC) $(EDJE_FLAGS) \
$(top_srcdir)/data/themes/icon.edc \
module.eap
enlightenment_eapp module.eap \
-set-name "Moon" \
-set-generic "gadget" \
-set-comment "Moon phase module for e17" \
-set-exe "null" \
-set-icon-class "null"
module.edj
clean-local:
rm -rf *.edj; rm -rf *.eap
rm -rf *.edj; rm -rf *.desktop

View File

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

BIN
data/themes/module.edj Normal file

Binary file not shown.

View File

@ -97,7 +97,7 @@ moon_config_dialog_show(Evas_Object *o)
v->advanced.create_widgets = NULL;
con = e_container_current_get(e_manager_current_get());
snprintf(buf, sizeof(buf), "%s/module.eap", e_module_dir_get(module));
snprintf(buf, sizeof(buf), "%s/module.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);
moon_config->config_dialog = cfd;
}

View File

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