/* local subsystem functions */ static void _e_startup(void) { Efreet_Desktop *desktop; char buf[8192]; if (!startup_apps) { e_init_done(); return; } desktop = eina_list_nth(startup_apps->desktops, start_app_pos); start_app_pos++; if (!desktop) { e_object_del(E_OBJECT(startup_apps)); startup_apps = NULL; start_app_pos = -1; e_init_done(); return; } e_exec(NULL, desktop, NULL, NULL, NULL); snprintf(buf, sizeof(buf), _("Starting %s"), desktop->name); e_init_status_set(buf); ecore_job_add(_e_startup_next_cb, NULL); }
static void _ng_border_menu_cb_new(void *data, E_Menu *m, E_Menu_Item *mi) { E_Border *bd = (E_Border *)data; e_exec(e_util_zone_current_get(e_manager_current_get()), bd->desktop, NULL, NULL, NULL); }