[nautilus/gnome-3-20] files-view: remove unused function
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-3-20] files-view: remove unused function
- Date: Thu, 3 Mar 2016 10:24:15 +0000 (UTC)
commit eda48d6571073ce31308268d69fd8d255e8aaa4c
Author: Carlos Soriano <csoriano gnome org>
Date: Thu Mar 3 11:06:15 2016 +0100
files-view: remove unused function
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 9d78a1f..624ae10 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]