.desktopification.

SVN revision: 25923
This commit is contained in:
David Walter Seikel 2006-09-17 15:34:25 +00:00
parent 0734a0a278
commit 8bab82a2a8
7 changed files with 15 additions and 5 deletions

View File

@ -21,4 +21,5 @@ stamp-h1
*.la
*.spec
*.tar.gz
*.edj
net.edj
module.desktop

View File

@ -11,7 +11,8 @@ EDJE_FLAGS = -v \
filesdir = $(datadir)
files_DATA = module_icon.png \
module.eap \
module.desktop \
module.edj \
net.edj
EXTRA_DIST=$(files_DATA) \
@ -61,6 +62,6 @@ module_la_DEPENDENCIES = $(top_builddir)/config.h $(top_builddir)/net.edj
$(EDJE_CC) $(EDJE_FLAGS) $< $@
clean-local:
rm -rf *.edj *~
rm -rf net.edj *~
uninstall:
rm -rf $(datadir)

View File

@ -149,6 +149,7 @@ AC_SUBST(e_modules)
AC_OUTPUT([
Makefile
e_modules-net.spec
module.desktop
po/Makefile
],[
])

View File

@ -38,7 +38,7 @@ _config_net_module (Config_Item * ci)
v->basic.apply_cfdata = _basic_apply_data;
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));
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);

View File

@ -121,7 +121,7 @@ _gc_icon (Evas * evas)
char buf[4096];
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));
edje_object_file_set (o, buf, "icon");
return o;

7
module.desktop.in Normal file
View File

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