parent
0734a0a278
commit
8bab82a2a8
|
@ -21,4 +21,5 @@ stamp-h1
|
||||||
*.la
|
*.la
|
||||||
*.spec
|
*.spec
|
||||||
*.tar.gz
|
*.tar.gz
|
||||||
*.edj
|
net.edj
|
||||||
|
module.desktop
|
||||||
|
|
|
@ -11,7 +11,8 @@ EDJE_FLAGS = -v \
|
||||||
filesdir = $(datadir)
|
filesdir = $(datadir)
|
||||||
|
|
||||||
files_DATA = module_icon.png \
|
files_DATA = module_icon.png \
|
||||||
module.eap \
|
module.desktop \
|
||||||
|
module.edj \
|
||||||
net.edj
|
net.edj
|
||||||
|
|
||||||
EXTRA_DIST=$(files_DATA) \
|
EXTRA_DIST=$(files_DATA) \
|
||||||
|
@ -61,6 +62,6 @@ module_la_DEPENDENCIES = $(top_builddir)/config.h $(top_builddir)/net.edj
|
||||||
$(EDJE_CC) $(EDJE_FLAGS) $< $@
|
$(EDJE_CC) $(EDJE_FLAGS) $< $@
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
rm -rf *.edj *~
|
rm -rf net.edj *~
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -rf $(datadir)
|
rm -rf $(datadir)
|
||||||
|
|
|
@ -149,6 +149,7 @@ AC_SUBST(e_modules)
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
Makefile
|
Makefile
|
||||||
e_modules-net.spec
|
e_modules-net.spec
|
||||||
|
module.desktop
|
||||||
po/Makefile
|
po/Makefile
|
||||||
],[
|
],[
|
||||||
])
|
])
|
||||||
|
|
|
@ -38,7 +38,7 @@ _config_net_module (Config_Item * ci)
|
||||||
v->basic.apply_cfdata = _basic_apply_data;
|
v->basic.apply_cfdata = _basic_apply_data;
|
||||||
v->basic.create_widgets = _basic_create_widgets;
|
v->basic.create_widgets = _basic_create_widgets;
|
||||||
|
|
||||||
snprintf (buf, sizeof (buf), "%s/module.eap",
|
snprintf (buf, sizeof (buf), "%s/module.edj",
|
||||||
e_module_dir_get (net_config->module));
|
e_module_dir_get (net_config->module));
|
||||||
con = e_container_current_get (e_manager_current_get ());
|
con = e_container_current_get (e_manager_current_get ());
|
||||||
cfd = e_config_dialog_new (con, D_ ("Net Configuration"), "Net", "_e_modules_net_config_dialog", buf, 0, v, ci);
|
cfd = e_config_dialog_new (con, D_ ("Net Configuration"), "Net", "_e_modules_net_config_dialog", buf, 0, v, ci);
|
||||||
|
|
|
@ -121,7 +121,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.eap",
|
snprintf (buf, sizeof (buf), "%s/module.edj",
|
||||||
e_module_dir_get (net_config->module));
|
e_module_dir_get (net_config->module));
|
||||||
edje_object_file_set (o, buf, "icon");
|
edje_object_file_set (o, buf, "icon");
|
||||||
return o;
|
return o;
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Net
|
||||||
|
Exec=enlightenment
|
||||||
|
StartupNotify=false
|
||||||
|
X-Enlightenment-WaitExit=false
|
||||||
|
X-Enlightenment-IconClass=net,gadget
|
||||||
|
Icon=./module.edj
|
Loading…
Reference in New Issue