summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael BOUCHAUD <michael.bouchaud@gmail.com>2012-11-12 17:59:40 +0000
committerMichael BOUCHAUD <michael.bouchaud@gmail.com>2012-11-12 17:59:40 +0000
commitcb9929612e329db9ee78aa0f729af74ea366b587 (patch)
tree57cfebc079278b531bc94657a10abc484ad6cd6c
parent22e7d14d0b000d0bc8373ca9b9912945030227cd (diff)
elementary: backport add missing selected in elm_index, when we use elm_index_item_selected_set
SVN revision: 79187
-rw-r--r--ChangeLog4
-rw-r--r--NEWS1
-rw-r--r--src/lib/elm_index.c1
3 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e23a7b145..61d9e67f4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -518,3 +518,7 @@
5182012-11-07 Mikael Sans (xhell) 5182012-11-07 Mikael Sans (xhell)
519 519
520 * Fix wrong parameter for thumbnail error in elm_icon. 520 * Fix wrong parameter for thumbnail error in elm_icon.
521
5222012-10-25 Michael Bouchaud (yoz)
523
524 * Add missing selected event in elm_index (elm_index_item_selected_set)
diff --git a/NEWS b/NEWS
index 7fba8aeb2..311f782bf 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,7 @@ Fixes:
8 * Fix promote and demote in genlist when the object isn't yet fully builded 8 * Fix promote and demote in genlist when the object isn't yet fully builded
9 * Fix the elm_flip to accept proxy object. 9 * Fix the elm_flip to accept proxy object.
10 * Fix wrong parameter for thumbnail error in elm_icon. 10 * Fix wrong parameter for thumbnail error in elm_icon.
11 * Fix missing event selected in elm_index (elm_index_item_selected_set)
11 12
12 13
13Changes since Elementary 1.7.0: 14Changes since Elementary 1.7.0:
diff --git a/src/lib/elm_index.c b/src/lib/elm_index.c
index 7febc353e..a05c3fc86 100644
--- a/src/lib/elm_index.c
+++ b/src/lib/elm_index.c
@@ -746,6 +746,7 @@ elm_index_item_selected_set(Elm_Object_Item *it,
746 { 746 {
747 evas_object_geometry_get(VIEW(it), &x, &y, &w, &h); 747 evas_object_geometry_get(VIEW(it), &x, &y, &w, &h);
748 _sel_eval(WIDGET(it), x + (w / 2), y + (h / 2)); 748 _sel_eval(WIDGET(it), x + (w / 2), y + (h / 2));
749 evas_object_smart_callback_call(WIDGET(it), SIG_SELECTED, it);
749 } 750 }
750 else _sel_eval(WIDGET(it), -99999, -9999); 751 else _sel_eval(WIDGET(it), -99999, -9999);
751} 752}