From 946051a5db20eca4d492bb1de4fb032a21772138 Mon Sep 17 00:00:00 2001 From: Seunggyun Kim Date: Tue, 28 Feb 2012 12:05:32 +0900 Subject: [PATCH] [els_icon.c]Merge opensource els_icon.c bug fix to resolve GUI Builder issue --- debian/changelog | 8 ++++++++ src/lib/els_icon.c | 2 ++ 2 files changed, 10 insertions(+) mode change 100755 => 100644 src/lib/els_icon.c diff --git a/debian/changelog b/debian/changelog index 287081c..e877ea8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +elementary (1.0.0+svn.67547slp2+build11) unstable; urgency=low + + * Merge opensource els_icon.c bug fix to resolve GUI Builder issue + * Git: slp/pkgs/e/elementary + * Tag: elementary_1.0.0+svn.67547slp2+build11 + + -- Seunggyun Kim Tue, 28 Feb 2012 12:04:05 +0900 + elementary (1.0.0+svn.67547slp2+build10) unstable; urgency=low * Package Upload diff --git a/src/lib/els_icon.c b/src/lib/els_icon.c old mode 100755 new mode 100644 index dc042cb..f32ab4d --- a/src/lib/els_icon.c +++ b/src/lib/els_icon.c @@ -587,6 +587,8 @@ _smart_reconfigure(Smart_Data *sd) parent = elm_widget_parent_widget_get(sd->obj); if (parent) evas_object_size_hint_align_get(parent, &alignh, &alignv); + if (alignh == EVAS_HINT_FILL) alignh = 0.5; + if (alignv == EVAS_HINT_FILL) alignv = 0.5; x = sd->x + ((sd->w - w) * alignh); y = sd->y + ((sd->h - h) * alignv); evas_object_move(sd->obj, x, y); -- 2.7.4