diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-03-03 11:06:15 +0100 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-03-03 11:25:33 +0100 |
commit | 2246f81ef604e7c95e8af13219cad89606f91cca (patch) | |
tree | af90202e043ff82204f4d302b60a5f18dcf57605 | |
parent | 959ef42c10ef68f1bcb6f7bdbfea744f214c0d7f (diff) | |
download | nautilus-2246f81ef604e7c95e8af13219cad89606f91cca.tar.gz |
files-view: remove unused function
-rw-r--r-- | src/nautilus-files-view.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c index 9d78a1f0a..624ae1049 100644 --- a/src/nautilus-files-view.c +++ b/src/nautilus-files-view.c @@ -727,26 +727,6 @@ showing_trash_directory (NautilusFilesView *view) } static gboolean -showing_remote_directory (NautilusFilesView *view) -{ - NautilusDirectory *base; - - /* Nautilus search is kind of special, since when we swtich to a search directory - * its uri is something invented, not a real GFile or where we were before - * entering search. For that we need to get the base model of the search directory, - * that is basically the real location we were before entering search */ - if (NAUTILUS_IS_SEARCH_DIRECTORY (view->details->model)) - base = nautilus_search_directory_get_base_model (NAUTILUS_SEARCH_DIRECTORY (view->details->model)); - else - base = view->details->model; - - if (base != NULL) - return nautilus_directory_is_remote (base); - else - return FALSE; -} - -static gboolean showing_recent_directory (NautilusFilesView *view) { NautilusFile *file; |