[gnome-photos/wip/rishi/collections-notifications] item-manager: Unbreak notifications for new collections




commit db693be74e6fbc6c1d7f1e3cc55fff8616201f2d
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Mar 9 19:27:27 2021 +0100

    item-manager: Unbreak notifications for new collections
    
    Fallout from f8d12928ee4674ba8a8e3c51b0cefd9d464f4715

 src/photos-item-manager.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/src/photos-item-manager.c b/src/photos-item-manager.c
index 7958c463..6bf4ef7b 100644
--- a/src/photos-item-manager.c
+++ b/src/photos-item-manager.c
@@ -1100,7 +1100,11 @@ photos_item_manager_init (PhotosItemManager *self)
 
   self->mode = PHOTOS_WINDOW_MODE_NONE;
 
-  self->notifier = tracker_notifier_new (NULL, TRACKER_NOTIFIER_FLAG_QUERY_URN, NULL, NULL);
+  self->notifier = tracker_notifier_new (NULL,
+                                         TRACKER_NOTIFIER_FLAG_NOTIFY_UNEXTRACTED
+                                         | TRACKER_NOTIFIER_FLAG_QUERY_URN,
+                                         NULL,
+                                         NULL);
   if (G_LIKELY (self->notifier != NULL))
     g_signal_connect_swapped (self->notifier,
                               "events",


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