summaryrefslogtreecommitdiff
path: root/src/nautilus-window-slot-dnd.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-window-slot-dnd.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-window-slot-dnd.c')
-rw-r--r--src/nautilus-window-slot-dnd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nautilus-window-slot-dnd.c b/src/nautilus-window-slot-dnd.c
index 548515cda..71386b140 100644
--- a/src/nautilus-window-slot-dnd.c
+++ b/src/nautilus-window-slot-dnd.c
@@ -26,7 +26,7 @@
#include <config.h>
#include "nautilus-notebook.h"
-#include "nautilus-view-dnd.h"
+#include "nautilus-files-view-dnd.h"
#include "nautilus-window-slot-dnd.h"
typedef struct {
@@ -331,7 +331,7 @@ slot_proxy_handle_drop (GtkWidget *widget,
{
GtkWidget *window;
NautilusWindowSlot *target_slot;
- NautilusView *target_view;
+ NautilusFilesView *target_view;
char *target_uri;
GList *uri_list;
@@ -368,18 +368,18 @@ slot_proxy_handle_drop (GtkWidget *widget,
uri_list = nautilus_drag_uri_list_from_selection_list (drag_info->data.selection_list);
g_assert (uri_list != NULL);
- nautilus_view_drop_proxy_received_uris (target_view,
+ nautilus_files_view_drop_proxy_received_uris (target_view,
uri_list,
target_uri,
gdk_drag_context_get_selected_action (context));
g_list_free_full (uri_list, g_free);
} else if (drag_info->info == NAUTILUS_ICON_DND_URI_LIST) {
- nautilus_view_drop_proxy_received_uris (target_view,
+ nautilus_files_view_drop_proxy_received_uris (target_view,
drag_info->data.uri_list,
target_uri,
gdk_drag_context_get_selected_action (context));
} if (drag_info->info == NAUTILUS_ICON_DND_NETSCAPE_URL) {
- nautilus_view_handle_netscape_url_drop (target_view,
+ nautilus_files_view_handle_netscape_url_drop (target_view,
drag_info->data.netscape_url,
target_uri,
gdk_drag_context_get_selected_action (context),