summaryrefslogtreecommitdiff
path: root/src/nautilus-canvas-view-container.c
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2015-08-16 17:42:39 -0300
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2015-08-17 09:27:46 -0300
commita96615f8f86774033941cb50c9d210b08895ba27 (patch)
treefe067d08d949efae9c39d45cd7adae1ce20d23b5 /src/nautilus-canvas-view-container.c
parent271f45a5d304a436f3d369e6b3b984aeb77ab1ba (diff)
downloadnautilus-a96615f8f86774033941cb50c9d210b08895ba27.tar.gz
files-view: rename from NautilusView
NautilusView is the proposed name for the new interface that will cover NautilusFilesView and NautilusPlacesView. The current NautilusView name, however, will crash with the proposed interface name. Fix that by changing the class name to NautilusFilesView. As an easter egg, makes it match the current Nautilus code style.
Diffstat (limited to 'src/nautilus-canvas-view-container.c')
-rw-r--r--src/nautilus-canvas-view-container.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nautilus-canvas-view-container.c b/src/nautilus-canvas-view-container.c
index 141daef21..e9779bb56 100644
--- a/src/nautilus-canvas-view-container.c
+++ b/src/nautilus-canvas-view-container.c
@@ -346,13 +346,13 @@ fm_desktop_canvas_container_icons_compare (NautilusCanvasContainer *container,
{
NautilusFile *file_a;
NautilusFile *file_b;
- NautilusView *directory_view;
+ NautilusFilesView *directory_view;
SortCategory category_a, category_b;
file_a = (NautilusFile *) data_a;
file_b = (NautilusFile *) data_b;
- directory_view = NAUTILUS_VIEW (NAUTILUS_CANVAS_VIEW_CONTAINER (container)->view);
+ directory_view = NAUTILUS_FILES_VIEW (NAUTILUS_CANVAS_VIEW_CONTAINER (container)->view);
g_return_val_if_fail (directory_view != NULL, 0);
category_a = get_sort_category (file_a);
@@ -361,7 +361,7 @@ fm_desktop_canvas_container_icons_compare (NautilusCanvasContainer *container,
if (category_a == category_b) {
return nautilus_file_compare_for_sort
(file_a, file_b, NAUTILUS_FILE_SORT_BY_DISPLAY_NAME,
- nautilus_view_should_sort_directories_first (directory_view),
+ nautilus_files_view_should_sort_directories_first (directory_view),
FALSE);
}