gallery: add copyright condition for media list 44/43344/2
authorJehun Lim <jehun.lim@samsung.com>
Wed, 8 Jul 2015 07:46:52 +0000 (16:46 +0900)
committerJehun Lim <jehun.lim@samsung.com>
Wed, 8 Jul 2015 07:48:05 +0000 (16:48 +0900)
Change-Id: I4fe32eb972df44f331d255b166b21a820b1d6e84
Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
src/layout/gallery.c

index 2c6f7fe..939a86b 100644 (file)
@@ -28,7 +28,8 @@
 #include "util/listmgr.h"
 #include "util/util.h"
 
-#define LIST_MEDIA_COND "media_type=0 OR media_type=1"
+#define LIST_MEDIA_COND "(media_type=0 OR media_type=1) \
+                               AND copyright LIKE \"Unknown\""
 
 #define TEXT_NOCONTENT "No Photo & Video"