|
|
|
@ -14,8 +14,11 @@ EAPI E_Module_Api e_modapi = |
|
|
|
|
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); |
|
|
|
|
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; |
|
|
|
@ -25,7 +28,9 @@ 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)); |
|
|
|
|
|
|
|
|
|
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; |
|
|
|
|