[gnome-photos/wip/uajain/de_dup: 21/21] Quick hack to stop remote images to render in the over view model
- From: Umang Jain <uajain src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/uajain/de_dup: 21/21] Quick hack to stop remote images to render in the over view model
- Date: Sun, 7 Aug 2016 07:06:35 +0000 (UTC)
commit 8b10afc3c81e1b9e9f1817cf42558f5c3a688105
Author: Umang Jain <mailumangjain gmail com>
Date: Sun Aug 7 06:56:10 2016 +0530
Quick hack to stop remote images to render in the over view model
src/photos-search-type-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-search-type-manager.c b/src/photos-search-type-manager.c
index 73cd8d8..31a5cfd 100644
--- a/src/photos-search-type-manager.c
+++ b/src/photos-search-type-manager.c
@@ -99,7 +99,7 @@ photos_search_type_manager_init (PhotosSearchTypeManager *self)
gchar *col_filter;
gchar *gif_filter;
- gif_filter = g_strdup ("nie:mimeType(?urn) != 'image/gif'");
+ gif_filter = g_strdup ("nie:mimeType(?urn) != 'image/gif' && (! BOUND (nie:relatedTo(?urn)))");
item_filter = g_strdup_printf ("(fn:contains (?type, 'nmm#Photo') && %s)", gif_filter);
col_filter = g_strdup_printf ("(fn:contains (?type, 'nfo#DataContainer')"
" && ?count > 0"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]