[nautilus] file-operations: Add newly created files to Recent
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] file-operations: Add newly created files to Recent
- Date: Sun, 10 May 2020 11:59:12 +0000 (UTC)
commit 26950288239b7c2dbfa90469b903439e09350bf7
Author: Sachin Daluja <30343-sachindaluja users noreply gitlab gnome org>
Date: Sun Apr 12 19:56:05 2020 -0400
file-operations: Add newly created files to Recent
When a new file is created, add it to the Recent files store.
Closes https://gitlab.gnome.org/GNOME/nautilus/-/issues/1357
src/nautilus-file-operations.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/nautilus-file-operations.c b/src/nautilus-file-operations.c
index ce5bdd901..da67fbf1c 100644
--- a/src/nautilus-file-operations.c
+++ b/src/nautilus-file-operations.c
@@ -7590,6 +7590,7 @@ retry:
job->created_file = g_object_ref (dest);
nautilus_file_changes_queue_file_added (dest);
dest_uri = g_file_get_uri (dest);
+ gtk_recent_manager_add_item (gtk_recent_manager_get_default (), dest_uri);
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]