seoz pushed a commit to branch master.
commit 936a48c158ad1375ae7dd74236c1793c95393084
Author: Daniel Juyung Seo <[email protected]>
Date: Sat Jul 13 15:45:44 2013 +0900
elm_list.c: fixed elm_object_item_part_content_set bug with 'end' part in
elm_list.
---
ChangeLog | 4 ++++
NEWS | 1 +
src/lib/elm_list.c | 7 ++++++-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 3177057..1a454be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1499,3 +1499,7 @@
2013-07-12 Guilherme Íscaro
* Add elm_dayselector_wekdays_names_set/get
+
+2013-07-13 Daniel Juyung Seo
+
+ * Fix elm_object_item_part_content_set bug with end content in
elm_list.
diff --git a/NEWS b/NEWS
index 72ff2bf..fd0450f 100644
--- a/NEWS
+++ b/NEWS
@@ -260,6 +260,7 @@ Fixes:
* Fix crash of elm_notify when timeout is zero.
* Fix Segfault in elementary file_selector_example when closed
* Fix Showing multiple popups in Entry.
+ * Fix elm_object_item_part_content_set bug with end content in elm_list.
Removals:
diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c
index 52dc6d0..5b8610c 100644
--- a/src/lib/elm_list.c
+++ b/src/lib/elm_list.c
@@ -1348,7 +1348,12 @@ _item_content_set_hook(Elm_Object_Item *it,
*icon_p = content;
if (VIEW(item))
- edje_object_part_swallow(VIEW(item), "elm.swallow.icon", content);
+ {
+ if (!strcmp(part, "start"))
+ edje_object_part_swallow(VIEW(item), "elm.swallow.icon", content);
+ else
+ edje_object_part_swallow(VIEW(item), "elm.swallow.end", content);
+ }
}
static Evas_Object *
--
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk