1
0
mirror of https://gitlab.gnome.org/GNOME/nautilus synced 2024-06-30 23:46:35 +00:00

files-view: Add network view empty state

This commit is contained in:
António Fernandes 2024-01-25 10:57:59 +00:00
parent 3494cd79df
commit 0ff13a90f0

View File

@ -3871,6 +3871,12 @@ real_check_empty_states (NautilusFilesView *view)
adw_status_page_set_title (status_page, _("No Recent Files"));
adw_status_page_set_description (status_page, NULL);
}
else if (g_file_has_uri_scheme (priv->location, SCHEME_NETWORK_VIEW))
{
adw_status_page_set_icon_name (status_page, "network-computer-symbolic");
adw_status_page_set_title (status_page, _("No Known Connections"));
adw_status_page_set_description (status_page, _("Enter an address to connect to a network location."));
}
else
{
adw_status_page_set_icon_name (status_page, "folder-symbolic");