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

SVN revision: 25922
master
David Walter Seikel 16 years ago
parent a6c7f125b0
commit a8401e98fc
  1. 1
      configure.ac
  2. 3
      data/themes/.cvsignore
  3. 15
      data/themes/Makefile.am
  4. 5
      data/themes/module.desktop.in
  5. BIN
      data/themes/module.edj
  6. 2
      src/e_mod_config.c
  7. 2
      src/e_mod_main.c

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

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

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

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

Binary file not shown.

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

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

Loading…
Cancel
Save