commit b6364038641c7c7e9f82fd2b0f0eca03d8a15036
Author: Avaneesh Rastogi <techguru94@gmail.com>
Date:   Fri Dec 11 22:06:39 2015 +0530

    Filter icon images from Recent tab

diff --git a/src/photos-search-type-manager.c b/src/photos-search-type-manager.c
index 9abaab1..819f3f0 100644
--- a/src/photos-search-type-manager.c
+++ b/src/photos-search-type-manager.c
@@ -87,6 +87,7 @@ photos_search_type_manager_init (PhotosSearchTypeManager *self)
   gchar *all_filter;
   gchar *col_filter;
   gchar *fav_filter;
+  gchar *photos_filter;
 
   item_filter = "fn:contains (?type, 'nmm#Photo')";
   col_filter = g_strdup_printf ("(fn:contains (?type, 'nfo#DataContainer')"
@@ -96,6 +97,7 @@ photos_search_type_manager_init (PhotosSearchTypeManager *self)
                                 PHOTOS_QUERY_COLLECTIONS_IDENTIFIER);
   all_filter = g_strdup_printf ("(%s || %s)", col_filter, item_filter);
   fav_filter = g_strdup_printf ("(%s || %s)", col_filter, item_filter);
+  photos_filter = g_strdup_printf ("(nfo:height(?urn) > %d) && (nfo:width(?urn) > %d)", 128, 128);
 
   search_type = photos_search_type_new_full (PHOTOS_SEARCH_TYPE_STOCK_ALL,
                                              _("All"),
@@ -123,7 +125,7 @@ photos_search_type_manager_init (PhotosSearchTypeManager *self)
   search_type = photos_search_type_new_full (PHOTOS_SEARCH_TYPE_STOCK_PHOTOS,
                                              _("Photos"),
                                              "?urn a nmm:Photo",
-                                             "(true)");
+                                             photos_filter);
   photos_base_manager_add_object (PHOTOS_BASE_MANAGER (self), G_OBJECT (search_type));
   g_object_unref (search_type);
 
