forked from enlightenment/enlightenment
parent
3e34e7e2e1
commit
fca4310f3d
|
@ -125,7 +125,7 @@ _create_data(E_Config_Dialog *cfd)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
|
_free_data(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata)
|
||||||
{
|
{
|
||||||
Config_Type *t;
|
Config_Type *t;
|
||||||
Config_Mime *m;
|
Config_Mime *m;
|
||||||
|
@ -543,7 +543,7 @@ _find_glob(Config_Mime *mime, char *glob)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_cb_config(void *data, void *data2)
|
_cb_config(void *data, void *data2 __UNUSED__)
|
||||||
{
|
{
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
E_Config_Dialog_Data *cfdata;
|
E_Config_Dialog_Data *cfdata;
|
||||||
|
|
|
@ -14,20 +14,25 @@ EAPI E_Module_Api e_modapi =
|
||||||
EAPI void *
|
EAPI void *
|
||||||
e_modapi_init(E_Module *m)
|
e_modapi_init(E_Module *m)
|
||||||
{
|
{
|
||||||
e_configure_registry_category_add("fileman", 100, _("Files"), NULL, "system-file-manager");
|
e_configure_registry_category_add("fileman", 100, _("Files"), NULL,
|
||||||
e_configure_registry_item_add("fileman/file_icons", 20, _("File Icons"), NULL, "preferences-file-icons", e_int_config_mime);
|
"system-file-manager");
|
||||||
|
e_configure_registry_item_add("fileman/file_icons", 20, _("File Icons"),
|
||||||
|
NULL, "preferences-file-icons",
|
||||||
|
e_int_config_mime);
|
||||||
conf_module = m;
|
conf_module = m;
|
||||||
e_module_delayed_set(m, 1);
|
e_module_delayed_set(m, 1);
|
||||||
return m;
|
return m;
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI int
|
EAPI int
|
||||||
e_modapi_shutdown(E_Module *m)
|
e_modapi_shutdown(E_Module *m __UNUSED__)
|
||||||
{
|
{
|
||||||
E_Config_Dialog *cfd;
|
E_Config_Dialog *cfd;
|
||||||
|
|
||||||
while ((cfd = e_config_dialog_get("E", "_config_mime_edit_dialog"))) e_object_del(E_OBJECT(cfd));
|
while ((cfd = e_config_dialog_get("E", "_config_mime_edit_dialog")))
|
||||||
while ((cfd = e_config_dialog_get("E", "fileman/file_icons"))) e_object_del(E_OBJECT(cfd));
|
e_object_del(E_OBJECT(cfd));
|
||||||
|
while ((cfd = e_config_dialog_get("E", "fileman/file_icons")))
|
||||||
|
e_object_del(E_OBJECT(cfd));
|
||||||
e_configure_registry_item_del("fileman/file_icons");
|
e_configure_registry_item_del("fileman/file_icons");
|
||||||
e_configure_registry_category_del("fileman");
|
e_configure_registry_category_del("fileman");
|
||||||
conf_module = NULL;
|
conf_module = NULL;
|
||||||
|
@ -35,7 +40,7 @@ e_modapi_shutdown(E_Module *m)
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI int
|
EAPI int
|
||||||
e_modapi_save(E_Module *m)
|
e_modapi_save(E_Module *m __UNUSED__)
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue