Icon: choose the fdo icon size using the evas obj geometry
authorDave Andreoli <dave@gurumeditation.it>
Sun, 25 Jan 2015 17:31:59 +0000 (18:31 +0100)
committerDave Andreoli <dave@gurumeditation.it>
Sun, 25 Jan 2015 17:31:59 +0000 (18:31 +0100)
commita28d94b34e4e13e2fcdd46e156178cd6cc76275f
tree461ae5331a93b807bd325c957d117c1266f8c888
parentdfa3dfdb1abd083510f285bb4b12190dd7eddc65
Icon: choose the fdo icon size using the evas obj geometry

Use the min between w and h of the evas object to
request the size in the icon theme. Fdo icon are always
square (1:1) so min seems correct.

Also improved the test to include a test that do
not relay on the size_hint_min of the icon.

Now in all the test I have done always the correct
fdo icon are used.
src/bin/test_icon.c
src/lib/elm_icon.c