}
group "modules" list {
group "E_Config_Module" struct {
- value "name" string: "conf_winlist";
- value "enabled" uchar: 1;
- value "delayed" uchar: 1;
- value "priority" int: 0;
- }
- }
- group "modules" list {
- group "E_Config_Module" struct {
value "name" string: "conf_engine";
value "enabled" uchar: 1;
value "delayed" uchar: 1;
}
group "modules" list {
group "E_Config_Module" struct {
- value "name" string: "conf_winlist";
- value "enabled" uchar: 1;
- value "delayed" uchar: 1;
- value "priority" int: 0;
- }
- }
- group "modules" list {
- group "E_Config_Module" struct {
value "name" string: "conf_engine";
value "enabled" uchar: 1;
value "delayed" uchar: 1;
}
group "modules" list {
group "E_Config_Module" struct {
- value "name" string: "conf_winlist";
- value "enabled" uchar: 1;
- value "delayed" uchar: 1;
- value "priority" int: 0;
- }
- }
- group "modules" list {
- group "E_Config_Module" struct {
value "name" string: "conf_window_manipulation";
value "enabled" uchar: 1;
value "delayed" uchar: 1;
}
group "modules" list {
group "E_Config_Module" struct {
- value "name" string: "conf_winlist";
- value "enabled" uchar: 1;
- value "delayed" uchar: 1;
- value "priority" int: 0;
- }
- }
- group "modules" list {
- group "E_Config_Module" struct {
value "name" string: "conf_window_manipulation";
value "enabled" uchar: 1;
value "delayed" uchar: 1;
AC_E_OPTIONAL_MODULE([conf_menus], true)
AC_E_OPTIONAL_MODULE([conf_dialogs], true)
AC_E_OPTIONAL_MODULE([conf_performance], true)
-AC_E_OPTIONAL_MODULE([conf_winlist], true)
AC_E_OPTIONAL_MODULE([conf_paths], true)
AC_E_OPTIONAL_MODULE([conf_mime], true)
AC_E_OPTIONAL_MODULE([conf_interaction], true)
src/modules/conf_dialogs/module.desktop
src/modules/conf_performance/Makefile
src/modules/conf_performance/module.desktop
-src/modules/conf_winlist/Makefile
-src/modules/conf_winlist/module.desktop
src/modules/conf_paths/Makefile
src/modules/conf_paths/module.desktop
src/modules/conf_mime/Makefile
src/modules/conf_window_manipulation/e_mod_main.c
src/modules/conf_window_remembers/e_int_config_remembers.c
src/modules/conf_window_remembers/e_mod_main.c
-src/modules/conf_winlist/e_int_config_winlist.c
-src/modules/conf_winlist/e_mod_main.c
src/modules/cpufreq/e_mod_main.c
src/modules/cpufreq/freqset.c
src/modules/dropshadow/e_mod_config.c
src/modules/gadman/e_mod_config.c
src/modules/gadman/e_mod_gadman.c
src/modules/gadman/e_mod_main.c
+src/modules/winlist/e_int_config_winlist.c
src/modules/winlist/e_mod_main.c
src/modules/winlist/e_winlist.c
src/modules/ibar/e_mod_config.c
SUBDIRS += conf_performance
endif
-if USE_MODULE_CONF_WINLIST
-SUBDIRS += conf_winlist
-endif
-
if USE_MODULE_CONF_PATHS
SUBDIRS += conf_paths
endif
+++ /dev/null
-.deps
-.libs
-Makefile
-Makefile.in
-*.lo
-module.la
-module.desktop
+++ /dev/null
-MAINTAINERCLEANFILES = Makefile.in
-MODULE = conf_winlist
-
-# 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_builddir)/src/bin \
- -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_int_config_winlist.c \
- e_int_config_winlist.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)
+++ /dev/null
-#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,
- "Settings - Window List"
-};
-
-EAPI void *
-e_modapi_init(E_Module *m)
-{
- e_configure_registry_category_add("windows", 50, _("Windows"), NULL,
- "preferences-system-windows");
- e_configure_registry_item_add("windows/window_list", 30, _("Window List"),
- NULL, "preferences-winlist",
- e_int_config_winlist);
- conf_module = m;
- e_module_delayed_set(m, 1);
- return m;
-}
-
-EAPI int
-e_modapi_shutdown(E_Module *m __UNUSED__)
-{
- E_Config_Dialog *cfd;
-
- while ((cfd = e_config_dialog_get("E", "advanced/window_list")))
- e_object_del(E_OBJECT(cfd));
- e_configure_registry_item_del("advanced/window_list");
- e_configure_registry_category_del("advanced");
- conf_module = NULL;
- return 1;
-}
-
-EAPI int
-e_modapi_save(E_Module *m __UNUSED__)
-{
- return 1;
-}
+++ /dev/null
-#ifndef E_MOD_MAIN_H
-#define E_MOD_MAIN_H
-
-#define E_TYPEDEFS 1
-#include "e_int_config_winlist.h"
-
-#undef E_TYPEDEFS
-#include "e_int_config_winlist.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);
-
-#endif
+++ /dev/null
-[Desktop Entry]
-Type=Link
-Name=Window List
-Name[ru]=Список окон
-Name[cs]=Seznam oken
-Name[de]=
-Name[eo]=Fenestrolisto
-Name[es]=Lista de ventanas
-Name[fr]=Liste des fenêtres
-Name[hu]=Ablak lista
-Name[it]=Lista finestre
-Name[ja]=
-Name[pt]=Lista de janelas
-Name[pt_BR]=
-Name[tr]=Pencere Listesi
-Name[zh_CN]=
-Name[zh_TW]=
-Icon=e-module-conf_winlist
-Comment=Configure your window list properties.
-Comment[ru]=Позволяет конфигурацию списка окон.
-Comment[cs]=Změna vlastností seznamu oken.
-Comment[de]=
-Comment[eo]=Agordi la ecojn de la fenestrolisto.
-Comment[es]=Configura las propiedades de su lista de ventanas.
-Comment[fr]=Configure les propriétés de la liste des fenêtres.
-Comment[hu]=Az ablak lista beállításait teszi lehetõvé ez a modul.
-Comment[it]=Configura le proprietà della lista delle finestre.
-Comment[ja]=
-Comment[pt]=Permite-lhe configurar as propriedades da lista de janelas
-Comment[pt_BR]=
-Comment[tr]=Pencere listesi özelliklerini yapılandırır.
-Comment[zh_CN]=
-Comment[zh_TW]=
-X-Enlightenment-ModuleType=settings
module_la_SOURCES = e_mod_main.c \
e_mod_main.h \
e_winlist.c \
- e_winlist.h
+ e_winlist.h \
+ e_int_config_winlist.c \
+ e_int_config_winlist.h
module_la_LIBADD = @e_libs@ @dlopen_libs@
module_la_LDFLAGS = -module -avoid-version
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;
- if (e_config_dialog_find("E", "advanced/window_list")) return NULL;
+ if (e_config_dialog_find("E", "windows/window_list")) return NULL;
v = E_NEW(E_Config_Dialog_View, 1);
v->create_cfdata = _create_data;
v->basic.check_changed = _basic_check_changed;
cfd = e_config_dialog_new(con, _("Window List Settings"),
- "E", "advanced/window_list",
+ "E", "windows/window_list",
"preferences-winlist", 0, v, NULL);
return cfd;
}
e_modapi_init(E_Module *m)
{
conf_module = m;
+ e_configure_registry_category_add("windows", 50, _("Windows"), NULL, "preferences-system-windows");
+ e_configure_registry_item_add("windows/window_list", 70, _("Window List"), NULL, "preferences-winlist", e_int_config_winlist);
e_winlist_init();
/* add module supplied action */
act = e_action_add("winlist");
EAPI int
e_modapi_shutdown(E_Module *m __UNUSED__)
{
+ E_Config_Dialog *cfd;
+
/* remove module-supplied action */
if (act)
{
act = NULL;
}
e_winlist_shutdown();
+
+ while ((cfd = e_config_dialog_get("E", "windows/window_list"))) e_object_del(E_OBJECT(cfd));
+ e_configure_registry_item_del("windows/window_list");
+ e_configure_registry_category_del("windows");
conf_module = NULL;
return 1;
}
#define E_TYPEDEFS 1
#include "e_winlist.h"
+#include "e_int_config_winlist.h"
#undef E_TYPEDEFS
#include "e_winlist.h"
-
+#include "e_int_config_winlist.h"
EAPI extern E_Module_Api e_modapi;