diff options
author | Sachin Daluja <30343-sachindaluja@users.noreply.gitlab.gnome.org> | 2020-04-12 19:56:05 -0400 |
---|---|---|
committer | António Fernandes <antoniojpfernandes@gmail.com> | 2020-05-10 11:49:24 +0000 |
commit | 26950288239b7c2dbfa90469b903439e09350bf7 (patch) | |
tree | d44b9b4984c58d4a9fdb12aa5ae27b8247b1e708 | |
parent | 5950ea3b0da18652a76f0fdea36c59644a14bac1 (diff) | |
download | nautilus-26950288239b7c2dbfa90469b903439e09350bf7.tar.gz |
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
-rw-r--r-- | src/nautilus-file-operations.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |