forked from enlightenment/enlightenment
parent
ab775c3fde
commit
1255baa040
10
configure.in
10
configure.in
|
@ -252,6 +252,7 @@ AC_ARG_WITH(edje-cc,
|
||||||
])
|
])
|
||||||
AC_SUBST(edje_cc)
|
AC_SUBST(edje_cc)
|
||||||
|
|
||||||
|
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
Makefile
|
Makefile
|
||||||
enlightenment.spec
|
enlightenment.spec
|
||||||
|
@ -259,14 +260,23 @@ src/Makefile
|
||||||
src/bin/Makefile
|
src/bin/Makefile
|
||||||
src/modules/Makefile
|
src/modules/Makefile
|
||||||
src/modules/ibar/Makefile
|
src/modules/ibar/Makefile
|
||||||
|
src/modules/ibar/module.desktop
|
||||||
src/modules/dropshadow/Makefile
|
src/modules/dropshadow/Makefile
|
||||||
|
src/modules/dropshadow/module.desktop
|
||||||
src/modules/clock/Makefile
|
src/modules/clock/Makefile
|
||||||
|
src/modules/clock/module.desktop
|
||||||
src/modules/pager/Makefile
|
src/modules/pager/Makefile
|
||||||
|
src/modules/pager/module.desktop
|
||||||
src/modules/battery/Makefile
|
src/modules/battery/Makefile
|
||||||
|
src/modules/battery/module.desktop
|
||||||
src/modules/temperature/Makefile
|
src/modules/temperature/Makefile
|
||||||
|
src/modules/temperature/module.desktop
|
||||||
src/modules/cpufreq/Makefile
|
src/modules/cpufreq/Makefile
|
||||||
|
src/modules/cpufreq/module.desktop
|
||||||
src/modules/ibox/Makefile
|
src/modules/ibox/Makefile
|
||||||
|
src/modules/ibox/module.desktop
|
||||||
src/modules/start/Makefile
|
src/modules/start/Makefile
|
||||||
|
src/modules/start/module.desktop
|
||||||
data/Makefile
|
data/Makefile
|
||||||
data/fonts/Makefile
|
data/fonts/Makefile
|
||||||
data/images/Makefile
|
data/images/Makefile
|
||||||
|
|
|
@ -6,3 +6,4 @@ e_mod_main.lo
|
||||||
module.la
|
module.la
|
||||||
*.lo
|
*.lo
|
||||||
*.la
|
*.la
|
||||||
|
module.desktop
|
||||||
|
|
|
@ -4,7 +4,7 @@ MODULE = battery
|
||||||
# data files for the module
|
# data files for the module
|
||||||
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
||||||
files_DATA = \
|
files_DATA = \
|
||||||
module.eap
|
module.edj module.desktop
|
||||||
|
|
||||||
EXTRA_DIST = $(files_DATA)
|
EXTRA_DIST = $(files_DATA)
|
||||||
|
|
||||||
|
@ -25,3 +25,6 @@ module_la_SOURCES = e_mod_main.c \
|
||||||
module_la_LIBADD = @e_libs@ @cf_libs@ @dlopen_libs@
|
module_la_LIBADD = @e_libs@ @cf_libs@ @dlopen_libs@
|
||||||
module_la_LDFLAGS = -module -avoid-version
|
module_la_LDFLAGS = -module -avoid-version
|
||||||
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -rf $(libdir)/enlightenment/modules/$(MODULE)
|
||||||
|
|
|
@ -32,7 +32,7 @@ _config_battery_module(void)
|
||||||
v->advanced.apply_cfdata = _advanced_apply_data;
|
v->advanced.apply_cfdata = _advanced_apply_data;
|
||||||
v->advanced.create_widgets = _advanced_create_widgets;
|
v->advanced.create_widgets = _advanced_create_widgets;
|
||||||
|
|
||||||
snprintf(buf, sizeof(buf), "%s/module.eap", e_module_dir_get(battery_config->module));
|
snprintf(buf, sizeof(buf), "%s/module.edj", e_module_dir_get(battery_config->module));
|
||||||
cfd = e_config_dialog_new(e_container_current_get(e_manager_current_get()),
|
cfd = e_config_dialog_new(e_container_current_get(e_manager_current_get()),
|
||||||
_("Battery Monitor Configuration"),
|
_("Battery Monitor Configuration"),
|
||||||
"E", "_e_mod_battery_config_dialog",
|
"E", "_e_mod_battery_config_dialog",
|
||||||
|
|
|
@ -142,7 +142,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(battery_config->module));
|
e_module_dir_get(battery_config->module));
|
||||||
edje_object_file_set(o, buf, "icon");
|
edje_object_file_set(o, buf, "icon");
|
||||||
return o;
|
return o;
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Battery
|
||||||
|
Exec=enlightenment
|
||||||
|
X-Enlightenment-IconClass=battery,gadget
|
||||||
|
Icon=./module.edj
|
Binary file not shown.
|
@ -4,3 +4,4 @@ Makefile
|
||||||
Makefile.in
|
Makefile.in
|
||||||
*.lo
|
*.lo
|
||||||
module.la
|
module.la
|
||||||
|
module.desktop
|
||||||
|
|
|
@ -4,7 +4,7 @@ MODULE = clock
|
||||||
# data files for the module
|
# data files for the module
|
||||||
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
||||||
files_DATA = \
|
files_DATA = \
|
||||||
module.eap
|
module.edj module.desktop
|
||||||
|
|
||||||
EXTRA_DIST = $(files_DATA)
|
EXTRA_DIST = $(files_DATA)
|
||||||
|
|
||||||
|
@ -23,3 +23,6 @@ module_la_SOURCES = e_mod_main.c \
|
||||||
module_la_LIBADD = @e_libs@ @dlopen_libs@
|
module_la_LIBADD = @e_libs@ @dlopen_libs@
|
||||||
module_la_LDFLAGS = -module -avoid-version
|
module_la_LDFLAGS = -module -avoid-version
|
||||||
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -rf $(libdir)/enlightenment/modules/$(MODULE)
|
||||||
|
|
|
@ -97,7 +97,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(clock_module));
|
e_module_dir_get(clock_module));
|
||||||
edje_object_file_set(o, buf, "icon");
|
edje_object_file_set(o, buf, "icon");
|
||||||
return o;
|
return o;
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Clock
|
||||||
|
Exec=enlightenment
|
||||||
|
X-Enlightenment-IconClass=clock,gadget
|
||||||
|
Icon=./module.edj
|
Binary file not shown.
|
@ -5,3 +5,4 @@ Makefile.in
|
||||||
*.lo
|
*.lo
|
||||||
module.la
|
module.la
|
||||||
freqset
|
freqset
|
||||||
|
module.desktop
|
||||||
|
|
|
@ -4,7 +4,7 @@ MODULE = cpufreq
|
||||||
# data files for the module
|
# data files for the module
|
||||||
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
||||||
files_DATA = \
|
files_DATA = \
|
||||||
module.eap
|
module.edj module.desktop
|
||||||
|
|
||||||
EXTRA_DIST = $(files_DATA)
|
EXTRA_DIST = $(files_DATA)
|
||||||
|
|
||||||
|
@ -34,3 +34,6 @@ install-data-hook:
|
||||||
|
|
||||||
noinst_PROGRAMS = freqset
|
noinst_PROGRAMS = freqset
|
||||||
freqset_SOURCES = freqset.c
|
freqset_SOURCES = freqset.c
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -rf $(libdir)/enlightenment/modules/$(MODULE)
|
||||||
|
|
|
@ -136,7 +136,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(cpufreq_config->module));
|
e_module_dir_get(cpufreq_config->module));
|
||||||
edje_object_file_set(o, buf, "icon");
|
edje_object_file_set(o, buf, "icon");
|
||||||
return o;
|
return o;
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Cpufreq
|
||||||
|
Exec=enlightenment
|
||||||
|
X-Enlightenment-IconClass=cpufreq,gadget
|
||||||
|
Icon=./module.edj
|
Binary file not shown.
|
@ -4,3 +4,4 @@ Makefile
|
||||||
Makefile.in
|
Makefile.in
|
||||||
*.lo
|
*.lo
|
||||||
module.la
|
module.la
|
||||||
|
module.desktop
|
||||||
|
|
|
@ -4,7 +4,7 @@ MODULE = dropshadow
|
||||||
# data files for the module
|
# data files for the module
|
||||||
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
||||||
files_DATA = \
|
files_DATA = \
|
||||||
module.eap
|
module.edj module.desktop
|
||||||
|
|
||||||
EXTRA_DIST = $(files_DATA)
|
EXTRA_DIST = $(files_DATA)
|
||||||
|
|
||||||
|
@ -25,3 +25,6 @@ module_la_SOURCES = e_mod_main.c \
|
||||||
module_la_LIBADD = @e_libs@ @dlopen_libs@
|
module_la_LIBADD = @e_libs@ @dlopen_libs@
|
||||||
module_la_LDFLAGS = -module -avoid-version
|
module_la_LDFLAGS = -module -avoid-version
|
||||||
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -rf $(libdir)/enlightenment/modules/$(MODULE)
|
||||||
|
|
|
@ -32,7 +32,7 @@ _config_dropshadow_module(E_Container *con, Dropshadow *ds)
|
||||||
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", e_module_dir_get(ds->module));
|
snprintf(buf, sizeof(buf), "%s/module.edj", e_module_dir_get(ds->module));
|
||||||
cfd = e_config_dialog_new(con,
|
cfd = e_config_dialog_new(con,
|
||||||
_("Dropshadow Configuration"),
|
_("Dropshadow Configuration"),
|
||||||
"E", "_e_mod_dropshadow_config_dialog",
|
"E", "_e_mod_dropshadow_config_dialog",
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Dropshadow
|
||||||
|
Exec=enlightenment
|
||||||
|
X-Enlightenment-IconClass=dropshadow,gadget
|
||||||
|
Icon=./module.edj
|
Binary file not shown.
|
@ -4,3 +4,4 @@ Makefile
|
||||||
Makefile.in
|
Makefile.in
|
||||||
*.lo
|
*.lo
|
||||||
module.la
|
module.la
|
||||||
|
module.desktop
|
||||||
|
|
|
@ -4,7 +4,7 @@ MODULE = ibar
|
||||||
# data files for the module
|
# data files for the module
|
||||||
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
||||||
files_DATA = \
|
files_DATA = \
|
||||||
module.eap
|
module.edj module.desktop
|
||||||
|
|
||||||
EXTRA_DIST = $(files_DATA)
|
EXTRA_DIST = $(files_DATA)
|
||||||
|
|
||||||
|
@ -23,3 +23,6 @@ module_la_SOURCES = e_mod_main.c \
|
||||||
module_la_LIBADD = @e_libs@ @dlopen_libs@
|
module_la_LIBADD = @e_libs@ @dlopen_libs@
|
||||||
module_la_LDFLAGS = -module -avoid-version
|
module_la_LDFLAGS = -module -avoid-version
|
||||||
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -rf $(libdir)/enlightenment/modules/$(MODULE)
|
||||||
|
|
|
@ -46,7 +46,7 @@ _config_ibar_module(Config_Item *ci)
|
||||||
v->advanced.apply_cfdata = NULL;
|
v->advanced.apply_cfdata = NULL;
|
||||||
v->advanced.create_widgets = NULL;
|
v->advanced.create_widgets = NULL;
|
||||||
|
|
||||||
snprintf(buf, sizeof(buf), "%s/module.eap", e_module_dir_get(ibar_config->module));
|
snprintf(buf, sizeof(buf), "%s/module.edj", e_module_dir_get(ibar_config->module));
|
||||||
/* Create The Dialog */
|
/* Create The Dialog */
|
||||||
cfd = e_config_dialog_new(e_container_current_get(e_manager_current_get()),
|
cfd = e_config_dialog_new(e_container_current_get(e_manager_current_get()),
|
||||||
_("IBar Configuration"),
|
_("IBar Configuration"),
|
||||||
|
|
|
@ -228,7 +228,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(ibar_config->module));
|
e_module_dir_get(ibar_config->module));
|
||||||
edje_object_file_set(o, buf, "icon");
|
edje_object_file_set(o, buf, "icon");
|
||||||
return o;
|
return o;
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=IBar
|
||||||
|
Exec=enlightenment
|
||||||
|
X-Enlightenment-IconClass=ibar,gadget
|
||||||
|
Icon=./module.edj
|
Binary file not shown.
|
@ -4,3 +4,4 @@ Makefile
|
||||||
Makefile.in
|
Makefile.in
|
||||||
*.lo
|
*.lo
|
||||||
module.la
|
module.la
|
||||||
|
module.desktop
|
||||||
|
|
|
@ -4,7 +4,7 @@ MODULE = ibox
|
||||||
# data files for the module
|
# data files for the module
|
||||||
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
||||||
files_DATA = \
|
files_DATA = \
|
||||||
module.eap
|
module.edj module.desktop
|
||||||
|
|
||||||
EXTRA_DIST = $(files_DATA)
|
EXTRA_DIST = $(files_DATA)
|
||||||
|
|
||||||
|
@ -24,3 +24,6 @@ module_la_SOURCES = e_mod_main.c \
|
||||||
module_la_LIBADD = @e_libs@ @dlopen_libs@
|
module_la_LIBADD = @e_libs@ @dlopen_libs@
|
||||||
module_la_LDFLAGS = -module -avoid-version
|
module_la_LDFLAGS = -module -avoid-version
|
||||||
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -rf $(libdir)/enlightenment/modules/$(MODULE)
|
||||||
|
|
|
@ -46,7 +46,7 @@ _config_ibox_module(Config_Item *ci)
|
||||||
v->advanced.create_widgets = NULL;
|
v->advanced.create_widgets = NULL;
|
||||||
|
|
||||||
/* Create The Dialog */
|
/* Create The Dialog */
|
||||||
snprintf(buf, sizeof(buf), "%s/module.eap", e_module_dir_get(ibox_config->module));
|
snprintf(buf, sizeof(buf), "%s/module.edj", e_module_dir_get(ibox_config->module));
|
||||||
cfd = e_config_dialog_new(e_container_current_get(e_manager_current_get()),
|
cfd = e_config_dialog_new(e_container_current_get(e_manager_current_get()),
|
||||||
_("IBox Configuration"),
|
_("IBox Configuration"),
|
||||||
"E", "_e_mod_ibox_config_dialog",
|
"E", "_e_mod_ibox_config_dialog",
|
||||||
|
|
|
@ -237,7 +237,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(ibox_config->module));
|
e_module_dir_get(ibox_config->module));
|
||||||
edje_object_file_set(o, buf, "icon");
|
edje_object_file_set(o, buf, "icon");
|
||||||
return o;
|
return o;
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=IBox
|
||||||
|
Exec=enlightenment
|
||||||
|
X-Enlightenment-IconClass=ibox,gadget
|
||||||
|
Icon=./module.edj
|
Binary file not shown.
|
@ -24,3 +24,6 @@ module_la_SOURCES = e_mod_main.c \
|
||||||
module_la_LIBADD = @e_libs@ @dlopen_libs@
|
module_la_LIBADD = @e_libs@ @dlopen_libs@
|
||||||
module_la_LDFLAGS = -module -avoid-version
|
module_la_LDFLAGS = -module -avoid-version
|
||||||
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -rf $(libdir)/enlightenment/modules/$(MODULE)
|
||||||
|
|
|
@ -4,3 +4,4 @@ Makefile
|
||||||
Makefile.in
|
Makefile.in
|
||||||
*.lo
|
*.lo
|
||||||
module.la
|
module.la
|
||||||
|
module.desktop
|
||||||
|
|
|
@ -4,7 +4,7 @@ MODULE = pager
|
||||||
# data files for the module
|
# data files for the module
|
||||||
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
||||||
files_DATA = \
|
files_DATA = \
|
||||||
module.eap
|
module.edj module.desktop
|
||||||
|
|
||||||
EXTRA_DIST = $(files_DATA)
|
EXTRA_DIST = $(files_DATA)
|
||||||
|
|
||||||
|
@ -24,3 +24,6 @@ module_la_SOURCES = e_mod_main.c \
|
||||||
module_la_LIBADD = @e_libs@ @dlopen_libs@
|
module_la_LIBADD = @e_libs@ @dlopen_libs@
|
||||||
module_la_LDFLAGS = -module -avoid-version
|
module_la_LDFLAGS = -module -avoid-version
|
||||||
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -rf $(libdir)/enlightenment/modules/$(MODULE)
|
||||||
|
|
|
@ -32,7 +32,7 @@ _config_pager_module(Config_Item *ci)
|
||||||
v->advanced.apply_cfdata = _advanced_apply_data;
|
v->advanced.apply_cfdata = _advanced_apply_data;
|
||||||
v->advanced.create_widgets = _advanced_create_widgets;
|
v->advanced.create_widgets = _advanced_create_widgets;
|
||||||
|
|
||||||
snprintf(buf, sizeof(buf), "%s/module.eap", e_module_dir_get(pager_config->module));
|
snprintf(buf, sizeof(buf), "%s/module.edj", e_module_dir_get(pager_config->module));
|
||||||
cfd = e_config_dialog_new(e_container_current_get(e_manager_current_get()),
|
cfd = e_config_dialog_new(e_container_current_get(e_manager_current_get()),
|
||||||
_("Pager Configuration"),
|
_("Pager Configuration"),
|
||||||
"E", "_e_mod_pager_config_dialog",
|
"E", "_e_mod_pager_config_dialog",
|
||||||
|
|
|
@ -232,7 +232,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(pager_config->module));
|
e_module_dir_get(pager_config->module));
|
||||||
edje_object_file_set(o, buf, "icon");
|
edje_object_file_set(o, buf, "icon");
|
||||||
return o;
|
return o;
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Pager
|
||||||
|
Exec=enlightenment
|
||||||
|
X-Enlightenment-IconClass=pager,gadget
|
||||||
|
Icon=./module.edj
|
Binary file not shown.
|
@ -4,4 +4,4 @@ Makefile.in
|
||||||
Makefile
|
Makefile
|
||||||
.libs
|
.libs
|
||||||
.deps
|
.deps
|
||||||
|
module.desktop
|
||||||
|
|
|
@ -4,7 +4,7 @@ MODULE = start
|
||||||
# data files for the module
|
# data files for the module
|
||||||
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
||||||
files_DATA = \
|
files_DATA = \
|
||||||
module.eap
|
module.edj module.desktop
|
||||||
|
|
||||||
EXTRA_DIST = $(files_DATA)
|
EXTRA_DIST = $(files_DATA)
|
||||||
|
|
||||||
|
@ -24,3 +24,5 @@ module_la_LIBADD = @e_libs@ @dlopen_libs@
|
||||||
module_la_LDFLAGS = -module -avoid-version
|
module_la_LDFLAGS = -module -avoid-version
|
||||||
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -rf $(libdir)/enlightenment/modules/$(MODULE)
|
||||||
|
|
|
@ -109,7 +109,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(start_module));
|
e_module_dir_get(start_module));
|
||||||
edje_object_file_set(o, buf, "icon");
|
edje_object_file_set(o, buf, "icon");
|
||||||
return o;
|
return o;
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Start
|
||||||
|
Exec=enlightenment
|
||||||
|
X-Enlightenment-IconClass=start,gadget
|
||||||
|
Icon=./module.edj
|
Binary file not shown.
|
@ -6,4 +6,4 @@ e_mod_main.lo
|
||||||
module.la
|
module.la
|
||||||
*.la
|
*.la
|
||||||
*.lo
|
*.lo
|
||||||
|
module.desktop
|
||||||
|
|
|
@ -4,7 +4,7 @@ MODULE = temperature
|
||||||
# data files for the module
|
# data files for the module
|
||||||
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
||||||
files_DATA = \
|
files_DATA = \
|
||||||
module.eap
|
module.edj module.desktop
|
||||||
|
|
||||||
EXTRA_DIST = $(files_DATA)
|
EXTRA_DIST = $(files_DATA)
|
||||||
|
|
||||||
|
@ -24,3 +24,6 @@ module_la_SOURCES = e_mod_main.c \
|
||||||
module_la_LIBADD = @e_libs@ @dlopen_libs@
|
module_la_LIBADD = @e_libs@ @dlopen_libs@
|
||||||
module_la_LDFLAGS = -module -avoid-version
|
module_la_LDFLAGS = -module -avoid-version
|
||||||
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -rf $(libdir)/enlightenment/modules/$(MODULE)
|
||||||
|
|
|
@ -55,7 +55,7 @@ _config_temperature_module(void)
|
||||||
v->advanced.apply_cfdata = _advanced_apply_data;
|
v->advanced.apply_cfdata = _advanced_apply_data;
|
||||||
v->advanced.create_widgets = _advanced_create_widgets;
|
v->advanced.create_widgets = _advanced_create_widgets;
|
||||||
|
|
||||||
snprintf(buf, sizeof(buf), "%s/module.eap", e_module_dir_get(temperature_config->module));
|
snprintf(buf, sizeof(buf), "%s/module.edj", e_module_dir_get(temperature_config->module));
|
||||||
cfd = e_config_dialog_new(e_container_current_get(e_manager_current_get()),
|
cfd = e_config_dialog_new(e_container_current_get(e_manager_current_get()),
|
||||||
_("Temperature Configuration"),
|
_("Temperature Configuration"),
|
||||||
"E", "_e_mod_temperature_config_dialog",
|
"E", "_e_mod_temperature_config_dialog",
|
||||||
|
|
|
@ -113,7 +113,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(temperature_config->module));
|
e_module_dir_get(temperature_config->module));
|
||||||
edje_object_file_set(o, buf, "icon");
|
edje_object_file_set(o, buf, "icon");
|
||||||
return o;
|
return o;
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Temperature
|
||||||
|
Exec=enlightenment
|
||||||
|
X-Enlightenment-IconClass=temperature,gadget
|
||||||
|
Icon=./module.edj
|
Binary file not shown.
Loading…
Reference in New Issue