for (i = 0; i < m->len; i++) {
if (m->info[i]) {
if (m->info[i]->status) {
- elm_object_style_set(m->btn[i], m->info[i]->style);
str = m->info[i]->status(m->data, m->info[i]->id);
if (!str) {
elm_object_part_text_set(m->btn[i], PART_MENU_VALUE, STATUS_DEFAULT);
elm_object_signal_emit(m->btn[i], SIG_NOTAVAILABLE, "");
- if (!strcmp(m->info[i]->style, STYLE_STATUS_BTN))
- elm_object_style_set(m->btn[i], STYLE_NORMAL_BTN);
} else {
str_copy = strdup(str);
token = strtok_r(str, delimiters, &save_ptr);
.title = STR_WIRED,
.style = STYLE_NORMAL_BTN,
.disabled = EINA_FALSE,
+ //.status = _get_contrast,
.status = NULL,
.progress_value = NULL,
.progress_evas = NULL,
free(essid);
return temp;
}
- return NULL;
+ return strdup("");
}
static void _destroy_status_popup()