Add the ability to configure IBar Applications to the new Applications
config panel entires. SVN revision: 27320
This commit is contained in:
parent
c3ffa11082
commit
06955f3156
|
@ -402,6 +402,7 @@ _e_configure_fill_cat_list(void *data)
|
|||
_e_configure_item_add(cat, _("Startup"), "enlightenment/startup", e_int_config_startup);
|
||||
|
||||
cat = _e_configure_category_add(eco, _("Applications"), "enlightenment/applications");
|
||||
_e_configure_item_add(cat, _("IBar Applications"), "enlightenment/applications", e_int_config_apps_ibar);
|
||||
_e_configure_item_add(cat, _("Restart Applications"), "enlightenment/applications", e_int_config_apps_restart);
|
||||
_e_configure_item_add(cat, _("Startup Applications"), "enlightenment/applications", e_int_config_apps_startup);
|
||||
|
||||
|
|
|
@ -93,6 +93,15 @@ e_int_config_apps(E_Container *con)
|
|||
return e_int_config_apps_once(con, NULL, NULL, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
EAPI E_Config_Dialog *
|
||||
e_int_config_apps_ibar(E_Container *con)
|
||||
{
|
||||
char path[4096];
|
||||
|
||||
snprintf(path, sizeof(path), "%s/.e/e/applications/bar", e_user_homedir_get());
|
||||
return e_int_config_apps_once(con, _("IBar"), NULL, path, NULL, NULL);
|
||||
}
|
||||
|
||||
EAPI E_Config_Dialog *
|
||||
e_int_config_apps_restart(E_Container *con)
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
EAPI E_Config_Dialog *e_int_config_apps(E_Container *con);
|
||||
EAPI E_Config_Dialog *e_int_config_apps_once(E_Container *con, const char *title, const char *label, const char *path, int (*func) (void *data, const char *path), void *data);
|
||||
EAPI E_Config_Dialog *e_int_config_apps_ibar(E_Container *con);
|
||||
EAPI E_Config_Dialog *e_int_config_apps_restart(E_Container *con);
|
||||
EAPI E_Config_Dialog *e_int_config_apps_startup(E_Container *con);
|
||||
|
||||
|
|
Loading…
Reference in New Issue