projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ebcfb6
)
Icon: use size_hint_min instead of image_size to know the wanted size
author
Dave Andreoli
<dave@gurumeditation.it>
Sun, 25 Jan 2015 14:48:41 +0000
(15:48 +0100)
committer
Dave Andreoli
<dave@gurumeditation.it>
Sun, 25 Jan 2015 14:48:41 +0000
(15:48 +0100)
This @fix fdo icons to load the correct image for the requested size.
Whitout this the small images (16x16) was never used, because once a big
(64x64 for example) image was loaded, that size was used as min.
See the Icon Standard test for a better explanation
src/lib/elm_icon.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_icon.c
b/src/lib/elm_icon.c
index
0b79a42
..
284f1c9
100644
(file)
--- a/
src/lib/elm_icon.c
+++ b/
src/lib/elm_icon.c
@@
-52,7
+52,7
@@
_icon_size_min_get(Evas_Object *icon)
{
int size;
- e
lm_image_object_size
_get(icon, &size, NULL);
+ e
vas_object_size_hint_min
_get(icon, &size, NULL);
return (size < 16) ? 16 : size;
}