forked from enlightenment/efl
Remove hardcoded max icon size restrition on toolbar
If it was added to mask a bug, we are unmasking it, so we can solve it and use the toolbar for programs that want more than 48 pixels. SVN revision: 54336
This commit is contained in:
parent
e6178d5892
commit
4cfed9e8c0
|
@ -673,7 +673,6 @@ elm_toolbar_icon_size_set(Evas_Object *obj, int icon_size)
|
||||||
ELM_CHECK_WIDTYPE(obj, widtype);
|
ELM_CHECK_WIDTYPE(obj, widtype);
|
||||||
Widget_Data *wd = elm_widget_data_get(obj);
|
Widget_Data *wd = elm_widget_data_get(obj);
|
||||||
if (!wd) return;
|
if (!wd) return;
|
||||||
if (icon_size > 48) return;
|
|
||||||
if (wd->icon_size == icon_size) return;
|
if (wd->icon_size == icon_size) return;
|
||||||
wd->icon_size = icon_size;
|
wd->icon_size = icon_size;
|
||||||
_theme_hook(obj);
|
_theme_hook(obj);
|
||||||
|
|
Loading…
Reference in New Issue