forked from enlightenment/enlightenment
parent
410348c2bd
commit
0c68584f44
2
TODO
2
TODO
|
@ -88,8 +88,6 @@ Some of the things (in very short form) that need to be done to E17...
|
||||||
* add a "taskbar" module
|
* add a "taskbar" module
|
||||||
* add cpu load module
|
* add cpu load module
|
||||||
* add setup/install wizard to seed .desktop files etc. etc.
|
* add setup/install wizard to seed .desktop files etc. etc.
|
||||||
* finish clientinfo dialog for borders (netwm props etc. etc.)
|
|
||||||
* gui config dialogs for all config
|
|
||||||
* make it possible to disable border buttons/actions (tell theme what is
|
* make it possible to disable border buttons/actions (tell theme what is
|
||||||
disabled) like close, maximize, etc. etc. buttons.
|
disabled) like close, maximize, etc. etc. buttons.
|
||||||
]]]
|
]]]
|
||||||
|
|
|
@ -260,6 +260,8 @@ src/modules/winlist/Makefile
|
||||||
src/modules/winlist/module.desktop
|
src/modules/winlist/module.desktop
|
||||||
src/modules/fileman/Makefile
|
src/modules/fileman/Makefile
|
||||||
src/modules/fileman/module.desktop
|
src/modules/fileman/module.desktop
|
||||||
|
src/modules/wizard/Makefile
|
||||||
|
src/modules/wizard/module.desktop
|
||||||
src/modules/conf/Makefile
|
src/modules/conf/Makefile
|
||||||
src/modules/conf/module.desktop
|
src/modules/conf/module.desktop
|
||||||
src/modules/conf_wallpaper/Makefile
|
src/modules/conf_wallpaper/Makefile
|
||||||
|
|
|
@ -13,6 +13,7 @@ layout \
|
||||||
exebuf \
|
exebuf \
|
||||||
winlist \
|
winlist \
|
||||||
fileman \
|
fileman \
|
||||||
|
wizard \
|
||||||
conf \
|
conf \
|
||||||
conf_wallpaper \
|
conf_wallpaper \
|
||||||
conf_theme \
|
conf_theme \
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
MODULE = wizard
|
||||||
|
|
||||||
|
# data files for the module
|
||||||
|
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
||||||
|
files_DATA = \
|
||||||
|
e-module-$(MODULE).edj module.desktop
|
||||||
|
|
||||||
|
EXTRA_DIST = $(files_DATA)
|
||||||
|
|
||||||
|
# the module .so file
|
||||||
|
INCLUDES = -I. \
|
||||||
|
-I$(top_srcdir) \
|
||||||
|
-I$(top_srcdir)/src/modules/$(MODULE) \
|
||||||
|
-I$(top_srcdir)/src/bin \
|
||||||
|
-I$(top_srcdir)/src/lib \
|
||||||
|
-I$(top_srcdir)/src/modules \
|
||||||
|
@e_cflags@
|
||||||
|
pkgdir = $(libdir)/enlightenment/modules/$(MODULE)/$(MODULE_ARCH)
|
||||||
|
pkg_LTLIBRARIES = module.la
|
||||||
|
module_la_SOURCES = e_mod_main.c \
|
||||||
|
e_mod_main.h \
|
||||||
|
e_wizard.c \
|
||||||
|
e_wizard.h
|
||||||
|
|
||||||
|
module_la_LIBADD = @e_libs@ @dlopen_libs@
|
||||||
|
module_la_LDFLAGS = -module -avoid-version
|
||||||
|
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -rf $(DESTDIR)$(libdir)/enlightenment/modules/$(MODULE)
|
Binary file not shown.
|
@ -0,0 +1,60 @@
|
||||||
|
/*
|
||||||
|
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
||||||
|
*/
|
||||||
|
#include "e.h"
|
||||||
|
#include "e_mod_main.h"
|
||||||
|
|
||||||
|
/***************************************************************************/
|
||||||
|
/**/
|
||||||
|
/* actual module specifics */
|
||||||
|
|
||||||
|
static E_Module *conf_module = NULL;
|
||||||
|
|
||||||
|
/**/
|
||||||
|
/***************************************************************************/
|
||||||
|
|
||||||
|
/***************************************************************************/
|
||||||
|
/**/
|
||||||
|
|
||||||
|
/**/
|
||||||
|
/***************************************************************************/
|
||||||
|
|
||||||
|
/***************************************************************************/
|
||||||
|
/**/
|
||||||
|
/* module setup */
|
||||||
|
EAPI E_Module_Api e_modapi =
|
||||||
|
{
|
||||||
|
E_MODULE_API_VERSION,
|
||||||
|
"Wizard"
|
||||||
|
};
|
||||||
|
|
||||||
|
EAPI void *
|
||||||
|
e_modapi_init(E_Module *m)
|
||||||
|
{
|
||||||
|
conf_module = m;
|
||||||
|
e_wizard_init();
|
||||||
|
return m;
|
||||||
|
}
|
||||||
|
|
||||||
|
EAPI int
|
||||||
|
e_modapi_shutdown(E_Module *m)
|
||||||
|
{
|
||||||
|
e_wizard_shutdown();
|
||||||
|
conf_module = NULL;
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
EAPI int
|
||||||
|
e_modapi_save(E_Module *m)
|
||||||
|
{
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
EAPI int
|
||||||
|
e_modapi_about(E_Module *m)
|
||||||
|
{
|
||||||
|
e_module_dialog_show(m,
|
||||||
|
_("Enlightenment First Run Wizard Module"),
|
||||||
|
_("A module for setting up configuration for Enlightenment for the first time."));
|
||||||
|
return 1;
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
/*
|
||||||
|
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
||||||
|
*/
|
||||||
|
#ifndef E_MOD_MAIN_H
|
||||||
|
#define E_MOD_MAIN_H
|
||||||
|
|
||||||
|
#define E_TYPEDEFS 1
|
||||||
|
#include "e_wizard.h"
|
||||||
|
|
||||||
|
#undef E_TYPEDEFS
|
||||||
|
#include "e_wizard.h"
|
||||||
|
|
||||||
|
|
||||||
|
EAPI extern E_Module_Api e_modapi;
|
||||||
|
|
||||||
|
EAPI void *e_modapi_init (E_Module *m);
|
||||||
|
EAPI int e_modapi_shutdown (E_Module *m);
|
||||||
|
EAPI int e_modapi_save (E_Module *m);
|
||||||
|
EAPI int e_modapi_about (E_Module *m);
|
||||||
|
|
||||||
|
#endif
|
|
@ -0,0 +1,17 @@
|
||||||
|
/*
|
||||||
|
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
||||||
|
*/
|
||||||
|
#include "e.h"
|
||||||
|
#include "e_mod_main.h"
|
||||||
|
|
||||||
|
EAPI int
|
||||||
|
e_wizard_init(void)
|
||||||
|
{
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
EAPI int
|
||||||
|
e_wizard_shutdown(void)
|
||||||
|
{
|
||||||
|
return 1;
|
||||||
|
}
|
|
@ -0,0 +1,14 @@
|
||||||
|
/*
|
||||||
|
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
||||||
|
*/
|
||||||
|
#ifdef E_TYPEDEFS
|
||||||
|
|
||||||
|
#else
|
||||||
|
#ifndef E_WIZARD_H
|
||||||
|
#define E_WIZARD_H
|
||||||
|
|
||||||
|
EAPI int e_wizard_init(void);
|
||||||
|
EAPI int e_wizard_shutdown(void);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
#endif
|
|
@ -0,0 +1,4 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Link
|
||||||
|
Name=First Run Wizard
|
||||||
|
Icon=e-module-wizard
|
Loading…
Reference in New Issue