The separator is not a real item. So it shouldn't be counted.

SVN revision: 71185
This commit is contained in:
Jaehwan Kim 2012-05-17 01:37:50 +00:00
parent 797bd6ecee
commit 069260423e
1 changed files with 1 additions and 0 deletions

View File

@ -1627,6 +1627,7 @@ elm_toolbar_item_separator_set(Elm_Object_Item *it, Eina_Bool separator)
item->separator = separator;
scale = (elm_widget_scale_get(obj) * _elm_config->scale);
_theme_hook_item(obj, item, scale, wd->icon_size);
wd->item_count--;
}
EAPI Eina_Bool