projects
/
profile
/
mobile
/
apps
/
native
/
gallery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cc26fd
)
[TSAM-11764] Avoid genlist append in recorder mode
52/105752/1
tizen_3.0.m2
submit/tizen_3.0/20161219.105539
submit/tizen_3.0/20161228.074545
submit/tizen_3.0/20161229.001234
author
Ravi Kiran K N
<ravi.kiran@samsung.com>
Mon, 19 Dec 2016 11:03:46 +0000
(16:33 +0530)
committer
Ravi Kiran K N
<ravi.kiran@samsung.com>
Mon, 19 Dec 2016 11:03:46 +0000
(16:33 +0530)
Avoid appending the item to gengrid when the mode
is album recorder
Change-Id: I4d72686fbd7ddd9a2a5b497f3215b3810f9c9d00
Signed-off-by: Ravi Kiran K N <ravi.kiran@samsung.com>
src/features/gl-albums.c
patch
|
blob
|
history
diff --git
a/src/features/gl-albums.c
b/src/features/gl-albums.c
index 7f67a7c91c32855c2af804a4ea274749995af9f7..ad136eaaa10e50527febd3b1471274ad63b67da8 100644
(file)
--- a/
src/features/gl-albums.c
+++ b/
src/features/gl-albums.c
@@
-1609,7
+1609,8
@@
int _gl_albums_create_items(void *data, Evas_Object * parent)
if (album_item->cluster->type < GL_STORE_T_ALL) {
ad->albuminfo.elist->edit_cnt++;
} else {
- if (gl_get_view_mode(ad) != GL_VIEW_ALBUMS) {
+ if (!(gl_get_view_mode(ad) != GL_VIEW_ALBUMS ||
+ gl_get_view_mode(ad) != GL_VIEW_ALBUM_REORDER)) {
continue;
}
}