[gnome-photos/wip/rishi/collection: 27/27] item-manager: ...



commit 80ad5a27f09ade4be910f44e868fe2cae8649581
Author: Debarshi Ray <debarshir gnome org>
Date:   Sun Jan 21 11:57:30 2018 +0100

    item-manager: ...

 src/photos-item-manager.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/src/photos-item-manager.c b/src/photos-item-manager.c
index de690331..5a761499 100644
--- a/src/photos-item-manager.c
+++ b/src/photos-item-manager.c
@@ -997,11 +997,7 @@ photos_item_manager_add_item (PhotosItemManager *self, TrackerSparqlCursor *curs
 
   if (photos_item_manager_cursor_is_collection (cursor))
     {
-      if (self->active_collection != NULL && force)
-        photos_mode_controller_go_back (self);
-
-      if (self->active_collection == NULL)
-        photos_item_manager_add_cursor_for_mode (self, cursor, PHOTOS_WINDOW_MODE_COLLECTIONS, force);
+      photos_item_manager_add_cursor_for_mode (self, cursor, PHOTOS_WINDOW_MODE_COLLECTIONS, force);
     }
   else
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]