[gnome-photos/wip/rishi/collections-notifications] item-manager: Unbreak notifications for new collections
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/collections-notifications] item-manager: Unbreak notifications for new collections
- Date: Tue, 9 Mar 2021 18:28:44 +0000 (UTC)
commit dfb5e8a58de71eab9fcd25ac55c46fb1d016bd83
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
https://gitlab.gnome.org/GNOME/gnome-photos/-/merge_requests/172
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]