void save_data_from_event_config_dialog(GList *widgets, event_config_t *ec) { dehydrate_config_dialog(widgets); const char *const store_passwords_s = get_user_setting("store_passwords"); save_event_config_data_to_user_storage(ec_get_name(ec), ec, !(store_passwords_s && !strcmp(store_passwords_s, "no"))); }
GList *wf_get_event_names(workflow_t *w) { GList *wf_event_list = wf_get_event_list(w); GList *event_names = NULL; while(wf_event_list) { event_names = g_list_append(event_names, xstrdup(ec_get_name(wf_event_list->data))); wf_event_list = g_list_next(wf_event_list); } return event_names; }