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:
0a3f2f0
)
elm_diskselector.c: reduce item_count number on _item_del. or reducing item_count...
author
Daniel Juyung Seo
<juyung.seo@samsung.com>
Thu, 21 Nov 2013 05:26:39 +0000
(14:26 +0900)
committer
Daniel Juyung Seo
<juyung.seo@samsung.com>
Thu, 21 Nov 2013 05:27:15 +0000
(14:27 +0900)
This fixes T508.
src/lib/elm_diskselector.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_diskselector.c
b/src/lib/elm_diskselector.c
index
6135dd8
..
be5eb44
100644
(file)
--- a/
src/lib/elm_diskselector.c
+++ b/
src/lib/elm_diskselector.c
@@
-327,6
+327,8
@@
_item_del(Elm_Diskselector_Item *item)
{
if (!item) return;
+ ELM_DISKSELECTOR_DATA_GET(WIDGET(item), sd);
+ sd->item_count -= 1;
eina_stringshare_del(item->label);
if (item->icon)
@@
-371,7
+373,6
@@
_item_del_pre_hook(Elm_Object_Item *item)
}
_item_del(it);
- sd->item_count -= 1;
if (sd->round)
{