summaryrefslogtreecommitdiff
path: root/x11/gnome-flashback/files/patch-gnome-flashback_libdesktop_gf-trash-icon.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnome-flashback/files/patch-gnome-flashback_libdesktop_gf-trash-icon.c')
-rw-r--r--x11/gnome-flashback/files/patch-gnome-flashback_libdesktop_gf-trash-icon.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11/gnome-flashback/files/patch-gnome-flashback_libdesktop_gf-trash-icon.c b/x11/gnome-flashback/files/patch-gnome-flashback_libdesktop_gf-trash-icon.c
new file mode 100644
index 000000000000..4463f5602b9f
--- /dev/null
+++ b/x11/gnome-flashback/files/patch-gnome-flashback_libdesktop_gf-trash-icon.c
@@ -0,0 +1,17 @@
+--- gnome-flashback/libdesktop/gf-trash-icon.c.orig 2021-11-02 10:13:49 UTC
++++ gnome-flashback/libdesktop/gf-trash-icon.c
+@@ -179,10 +179,10 @@ gf_trash_icon_create_file_monitor (GfIcon *icon)
+ g_clear_object (&self->monitor);
+
+ error = NULL;
+- self->monitor = g_file_monitor_directory (gf_icon_get_file (GF_ICON (self)),
+- G_FILE_MONITOR_WATCH_MOVES,
+- self->cancellable,
+- &error);
++ self->monitor = g_file_monitor (gf_icon_get_file (GF_ICON (self)),
++ G_FILE_MONITOR_NONE,
++ self->cancellable,
++ &error);
+
+ if (error != NULL)
+ {