Eina_Bool use : 1;
} freedesktop;
#endif
+ int in_eval;
Eina_Bool scale_up : 1;
Eina_Bool scale_down : 1;
Eina_Bool smooth : 1;
Evas_Coord minw = -1, minh = -1, maxw = -1, maxh = -1;
int w, h;
+ wd->in_eval++;
_els_smart_icon_size_get(wd->img, &w, &h);
#ifdef ELM_EFREET
if (wd->freedesktop.use && wd->stdicon)
}
evas_object_size_hint_min_set(obj, minw, minh);
evas_object_size_hint_max_set(obj, maxw, maxh);
+ wd->in_eval--;
}
static void
if (ret)
{
eina_stringshare_replace(&wd->stdicon, name);
- _sizing_eval(obj);
+ if (!wd->in_eval) _sizing_eval(obj);
return EINA_TRUE;
}
eina_stringshare_del(wd->stdicon);
wd->stdicon = NULL;
ret = _els_smart_icon_memfile_set(wd->img, img, size, format, key);
- _sizing_eval(obj);
+ if (!wd->in_eval) _sizing_eval(obj);
return ret;
}
ret = _els_smart_icon_file_edje_set(wd->img, file, group);
else
ret = _els_smart_icon_file_key_set(wd->img, file, group);
- _sizing_eval(obj);
+ if (!wd->in_eval) _sizing_eval(obj);
return ret;
}
if (!wd) return;
wd->smooth = smooth;
- _sizing_eval(obj);
+ if (!wd->in_eval) _sizing_eval(obj);
}
EAPI Eina_Bool
if (!wd) return;
wd->no_scale = no_scale;
- _sizing_eval(obj);
+ if (!wd->in_eval) _sizing_eval(obj);
}
EAPI Eina_Bool
if (!wd) return;
wd->scale_up = scale_up;
wd->scale_down = scale_down;
- _sizing_eval(obj);
+ if (!wd->in_eval) _sizing_eval(obj);
}
EAPI void
if (!wd) return;
wd->fill_outside = fill_outside;
- _sizing_eval(obj);
+ if (!wd->in_eval) _sizing_eval(obj);
}
EAPI void