parent
ebe81a9a03
commit
a4d3fd8f22
|
@ -19,7 +19,8 @@ ltmain.sh
|
||||||
stamp-h1
|
stamp-h1
|
||||||
*.lo
|
*.lo
|
||||||
*.la
|
*.la
|
||||||
*.edj
|
mail.edj
|
||||||
*.spec
|
*.spec
|
||||||
*.tar.gz
|
*.tar.gz
|
||||||
*.o
|
*.o
|
||||||
|
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 \
|
||||||
mail.edj
|
mail.edj
|
||||||
|
|
||||||
EXTRA_DIST = $(files_DATA) \
|
EXTRA_DIST = $(files_DATA) \
|
||||||
|
@ -46,6 +47,6 @@ module_la_DEPENDENCIES = $(top_builddir)/config.h $(top_builddir)/mail.edj
|
||||||
$(EDJE_CC) $(EDJE_FLAGS) $< $@
|
$(EDJE_CC) $(EDJE_FLAGS) $< $@
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
rm -rf *.edj *~
|
rm -rf mail.edj *~
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -rf $(datadir)
|
rm -rf $(datadir)
|
||||||
|
|
|
@ -149,6 +149,7 @@ AC_SUBST(e_modules)
|
||||||
|
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
Makefile
|
Makefile
|
||||||
|
module.desktop
|
||||||
po/Makefile
|
po/Makefile
|
||||||
],[
|
],[
|
||||||
])
|
])
|
||||||
|
|
|
@ -44,7 +44,7 @@ _config_mail_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 (mail_config->module));
|
e_module_dir_get (mail_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_("Mail Configuration"), "Mail", "_e_modules_mail_config_dialog", buf, 0, v, ci);
|
cfd = e_config_dialog_new (con, D_("Mail Configuration"), "Mail", "_e_modules_mail_config_dialog", buf, 0, v, ci);
|
||||||
|
@ -167,7 +167,7 @@ _load_boxes (E_Config_Dialog * cfd)
|
||||||
if (evas_list_count (ci->boxes) <= 0)
|
if (evas_list_count (ci->boxes) <= 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
snprintf (buf, sizeof (buf), "%s/module.eap",
|
snprintf (buf, sizeof (buf), "%s/module.edj",
|
||||||
e_module_dir_get (mail_config->module));
|
e_module_dir_get (mail_config->module));
|
||||||
|
|
||||||
e_widget_ilist_clear (il);
|
e_widget_ilist_clear (il);
|
||||||
|
|
|
@ -187,7 +187,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 (mail_config->module));
|
e_module_dir_get (mail_config->module));
|
||||||
edje_object_file_set (o, buf, "icon");
|
edje_object_file_set (o, buf, "icon");
|
||||||
return o;
|
return o;
|
||||||
|
@ -220,7 +220,7 @@ _mail_cb_mouse_down (void *data, Evas * e, Evas_Object * obj,
|
||||||
{
|
{
|
||||||
E_Menu_Item *mm;
|
E_Menu_Item *mm;
|
||||||
|
|
||||||
snprintf (buf, sizeof (buf), "%s/module.eap",
|
snprintf (buf, sizeof (buf), "%s/module.edj",
|
||||||
e_module_dir_get (mail_config->module));
|
e_module_dir_get (mail_config->module));
|
||||||
mm = e_menu_item_new (mn);
|
mm = e_menu_item_new (mn);
|
||||||
e_menu_item_label_set (mm, D_("Mailboxes"));
|
e_menu_item_label_set (mm, D_("Mailboxes"));
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Mail
|
||||||
|
Exec=enlightenment
|
||||||
|
StartupNotify=false
|
||||||
|
X-Enlightenment-WaitExit=false
|
||||||
|
X-Enlightenment-IconClass=mail,gadget
|
||||||
|
Icon=./module.edj
|
Loading…
Reference in New Issue