forked from enlightenment/enlightenment
parent
573f9a56df
commit
9dabfbd360
|
@ -34,7 +34,7 @@ e_int_config_acpibindings(E_Container *con, const char *params __UNUSED__)
|
||||||
E_Config_Dialog *cfd;
|
E_Config_Dialog *cfd;
|
||||||
E_Config_Dialog_View *v;
|
E_Config_Dialog_View *v;
|
||||||
|
|
||||||
if (e_config_dialog_find("E", "system/acpi_bindings"))
|
if (e_config_dialog_find("E", "advanced/acpi_bindings"))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
v = E_NEW(E_Config_Dialog_View, 1);
|
v = E_NEW(E_Config_Dialog_View, 1);
|
||||||
|
@ -44,7 +44,7 @@ e_int_config_acpibindings(E_Container *con, const char *params __UNUSED__)
|
||||||
v->basic.create_widgets = _basic_create;
|
v->basic.create_widgets = _basic_create;
|
||||||
|
|
||||||
cfd = e_config_dialog_new(con, _("ACPI Bindings"), "E",
|
cfd = e_config_dialog_new(con, _("ACPI Bindings"), "E",
|
||||||
"system/acpi_bindings",
|
"advanced/acpi_bindings",
|
||||||
"preferences-system-power-management",
|
"preferences-system-power-management",
|
||||||
0, v, NULL);
|
0, v, NULL);
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,8 @@ 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("advanced", 1000,
|
e_configure_registry_category_add("advanced", 80,
|
||||||
_("System"), NULL, "preferences-system");
|
_("Advanced"), NULL, "preferences-advanced");
|
||||||
e_configure_registry_item_add("advanced/acpi_bindings", 10,
|
e_configure_registry_item_add("advanced/acpi_bindings", 10,
|
||||||
_("ACPI Bindings"), NULL,
|
_("ACPI Bindings"), NULL,
|
||||||
"preferences-system-power-management",
|
"preferences-system-power-management",
|
||||||
|
|
Loading…
Reference in New Issue