projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2ae93f4
)
[Genlist] Fixed sweep -> edit mode bug.
author
Daniel Juyung Seo
<juyung.seo@samsung.com>
Thu, 14 Jul 2011 09:50:04 +0000
(18:50 +0900)
committer
Daniel Juyung Seo
<juyung.seo@samsung.com>
Thu, 14 Jul 2011 09:50:04 +0000
(18:50 +0900)
src/lib/elm_genlist.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_genlist.c
b/src/lib/elm_genlist.c
index
a1dce1d
..
16033a4
100644
(file)
--- a/
src/lib/elm_genlist.c
+++ b/
src/lib/elm_genlist.c
@@
-6337,6
+6337,9
@@
elm_genlist_edit_mode_set(Evas_Object *obj, Eina_Bool edit_mode)
if (!wd) return;
if (wd->edit_mode == edit_mode) return;
if (!wd) return;
if (wd->edit_mode == edit_mode) return;
+ if (wd->mode_item && wd->mode_item->mode_view)
+ _mode_finished_signal_cb(wd->mode_item, elm_genlist_item_object_get(wd->mode_item), NULL, NULL);
+
wd->edit_mode = edit_mode;
if (!wd->edit_mode)
{
wd->edit_mode = edit_mode;
if (!wd->edit_mode)
{
@@
-6494,6
+6497,7
@@
elm_genlist_item_mode_set(Elm_Genlist_Item *it,
if (!wd) return;
if (!mode_type) return;
if ((it->delete_me) || (it->disabled)) return;
if (!wd) return;
if (!mode_type) return;
if ((it->delete_me) || (it->disabled)) return;
+ if (wd->edit_mode) return;
if ((wd->mode_item == it) &&
(!strcmp(mode_type, wd->mode_type)) &&
if ((wd->mode_item == it) &&
(!strcmp(mode_type, wd->mode_type)) &&