[nautilus/wip/cdavis/use-status-page: 4/4] files-view: Add empty state for Recent
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/cdavis/use-status-page: 4/4] files-view: Add empty state for Recent
- Date: Sun, 17 Jul 2022 18:24:43 +0000 (UTC)
commit c4ea810b8f9048a4950d65b9d297088756e4b2ae
Author: António Fernandes <antoniof gnome org>
Date: Sun Jul 17 19:14:44 2022 +0100
files-view: Add empty state for Recent
src/nautilus-files-view.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c
index 172a9d3bc..d856ac22c 100644
--- a/src/nautilus-files-view.c
+++ b/src/nautilus-files-view.c
@@ -3664,6 +3664,12 @@ real_check_empty_states (NautilusFilesView *view)
adw_status_page_set_title (status_page, _("No Starred Files"));
adw_status_page_set_description (status_page, NULL);
}
+ else if (eel_uri_is_recent (uri))
+ {
+ adw_status_page_set_icon_name (status_page, "document-open-recent-symbolic");
+ adw_status_page_set_title (status_page, _("No Recent Files"));
+ adw_status_page_set_description (status_page, NULL);
+ }
else
{
adw_status_page_set_icon_name (status_page, "folder-symbolic");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]