[nautilus] Revert "desktop: move to a different folder"



commit d1a1c798e62571f14d64c22334ae7043203e4a13
Author: Carlos Soriano <csoriano gnome org>
Date:   Fri Apr 15 16:10:51 2016 +0200

    Revert "desktop: move to a different folder"
    
    This reverts commit c9dcccae611e40f48024bdfeccbb081fa10b7b15.

 Makefile.am                                        |    1 -
 configure.ac                                       |    1 -
 libnautilus-private/Makefile.am                    |   12 ++++
 .../nautilus-desktop-directory-file.c              |   17 +++---
 .../nautilus-desktop-directory-file.h              |    0
 .../nautilus-desktop-directory.c                   |   10 ++--
 .../nautilus-desktop-directory.h                   |    0
 .../nautilus-desktop-icon-file.c                   |   59 +++++++++---------
 .../nautilus-desktop-icon-file.h                   |   13 ++--
 .../nautilus-desktop-link-monitor.c                |    6 +-
 .../nautilus-desktop-link-monitor.h                |    2 +-
 .../nautilus-desktop-link.c                        |    6 +--
 .../nautilus-desktop-link.h                        |    0
 .../nautilus-desktop-metadata.c                    |    4 +-
 .../nautilus-desktop-metadata.h                    |    0
 nautilus-desktop/Makefile.am                       |   67 --------------------
 src/Makefile.am                                    |   36 +++++++----
 {nautilus-desktop => src}/main-desktop.c           |    0
 .../nautilus-desktop-application.c                 |    0
 .../nautilus-desktop-application.h                 |    0
 .../nautilus-desktop-canvas-view-container.c       |    0
 .../nautilus-desktop-canvas-view-container.h       |    0
 .../nautilus-desktop-canvas-view.c                 |    7 +-
 .../nautilus-desktop-canvas-view.h                 |    0
 .../nautilus-desktop-window-slot.c                 |    0
 .../nautilus-desktop-window-slot.h                 |    4 +-
 .../nautilus-desktop-window.c                      |    7 +-
 .../nautilus-desktop-window.h                      |    2 +-
 28 files changed, 100 insertions(+), 154 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 4ac2709..ee62eca 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,7 +10,6 @@ DIRS =                                \
        po                      \
        data                    \
        docs                    \
-       nautilus-desktop        \
        $(NULL)
 
 DIST_SUBDIRS = $(DIRS) nautilus-sendto-extension
diff --git a/configure.ac b/configure.ac
index 955a6bd..ae2ffec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -318,7 +318,6 @@ libnautilus-extension/libnautilus-extension-uninstalled.pc
 libgd/Makefile
 po/Makefile.in
 src/Makefile
-nautilus-desktop/Makefile
 nautilus-sendto-extension/Makefile
 test/Makefile
 ])
diff --git a/libnautilus-private/Makefile.am b/libnautilus-private/Makefile.am
index 7e0718f..8c37d4d 100644
--- a/libnautilus-private/Makefile.am
+++ b/libnautilus-private/Makefile.am
@@ -80,6 +80,18 @@ libnautilus_private_la_SOURCES = \
        nautilus-debug.h \
        nautilus-default-file-icon.c \
        nautilus-default-file-icon.h \
+       nautilus-desktop-directory-file.c \
+       nautilus-desktop-directory-file.h \
+       nautilus-desktop-directory.c \
+       nautilus-desktop-directory.h \
+       nautilus-desktop-icon-file.c \
+       nautilus-desktop-icon-file.h \
+       nautilus-desktop-link-monitor.c \
+       nautilus-desktop-link-monitor.h \
+       nautilus-desktop-link.c \
+       nautilus-desktop-link.h \
+       nautilus-desktop-metadata.c \
+       nautilus-desktop-metadata.h \
        nautilus-directory-async.c \
        nautilus-directory-notify.h \
        nautilus-directory-private.h \
diff --git a/nautilus-desktop/nautilus-desktop-directory-file.c 
b/libnautilus-private/nautilus-desktop-directory-file.c
similarity index 98%
rename from nautilus-desktop/nautilus-desktop-directory-file.c
rename to libnautilus-private/nautilus-desktop-directory-file.c
index ba3cd13..2a43bdf 100644
--- a/nautilus-desktop/nautilus-desktop-directory-file.c
+++ b/libnautilus-private/nautilus-desktop-directory-file.c
@@ -22,17 +22,16 @@
 
 #include <config.h>
 #include "nautilus-desktop-directory-file.h"
-#include "nautilus-desktop-metadata.h"
-#include "nautilus-desktop-directory.h"
-
-#include <libnautilus-private/nautilus-directory-notify.h>
-#include <libnautilus-private/nautilus-directory-private.h>
-#include <libnautilus-private/nautilus-file-attributes.h>
-#include <libnautilus-private/nautilus-file-private.h>
-#include <libnautilus-private/nautilus-file-utilities.h>
-#include <libnautilus-private/nautilus-metadata.h>
 
+#include "nautilus-desktop-metadata.h"
+#include "nautilus-directory-notify.h"
+#include "nautilus-directory-private.h"
+#include "nautilus-file-attributes.h"
+#include "nautilus-file-private.h"
+#include "nautilus-file-utilities.h"
 #include <eel/eel-glib-extensions.h>
+#include "nautilus-desktop-directory.h"
+#include "nautilus-metadata.h"
 #include <gtk/gtk.h>
 #include <glib/gi18n.h>
 #include <string.h>
diff --git a/nautilus-desktop/nautilus-desktop-directory-file.h 
b/libnautilus-private/nautilus-desktop-directory-file.h
similarity index 100%
rename from nautilus-desktop/nautilus-desktop-directory-file.h
rename to libnautilus-private/nautilus-desktop-directory-file.h
diff --git a/nautilus-desktop/nautilus-desktop-directory.c b/libnautilus-private/nautilus-desktop-directory.c
similarity index 98%
rename from nautilus-desktop/nautilus-desktop-directory.c
rename to libnautilus-private/nautilus-desktop-directory.c
index 6a43ec5..9f97baa 100644
--- a/nautilus-desktop/nautilus-desktop-directory.c
+++ b/libnautilus-private/nautilus-desktop-directory.c
@@ -25,11 +25,11 @@
 #include "nautilus-desktop-directory.h"
 #include "nautilus-desktop-directory-file.h"
 
-#include <libnautilus-private/nautilus-directory-private.h>
-#include <libnautilus-private/nautilus-file.h>
-#include <libnautilus-private/nautilus-file-private.h>
-#include <libnautilus-private/nautilus-file-utilities.h>
-#include <libnautilus-private/nautilus-global-preferences.h>
+#include "nautilus-directory-private.h"
+#include "nautilus-file.h"
+#include "nautilus-file-private.h"
+#include "nautilus-file-utilities.h"
+#include "nautilus-global-preferences.h"
 #include <gtk/gtk.h>
 
 struct NautilusDesktopDirectoryDetails {
diff --git a/nautilus-desktop/nautilus-desktop-directory.h b/libnautilus-private/nautilus-desktop-directory.h
similarity index 100%
rename from nautilus-desktop/nautilus-desktop-directory.h
rename to libnautilus-private/nautilus-desktop-directory.h
diff --git a/nautilus-desktop/nautilus-desktop-icon-file.c b/libnautilus-private/nautilus-desktop-icon-file.c
similarity index 96%
rename from nautilus-desktop/nautilus-desktop-icon-file.c
rename to libnautilus-private/nautilus-desktop-icon-file.c
index 073b813..3519d04 100644
--- a/nautilus-desktop/nautilus-desktop-icon-file.c
+++ b/libnautilus-private/nautilus-desktop-icon-file.c
@@ -1,41 +1,40 @@
 /*
    nautilus-desktop-icon-file.c: Subclass of NautilusFile to help implement the
    virtual desktop icons.
-
+ 
    Copyright (C) 2003 Red Hat, Inc.
-
+  
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License as
    published by the Free Software Foundation; either version 2 of the
    License, or (at your option) any later version.
-
+  
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    General Public License for more details.
-
+  
    You should have received a copy of the GNU General Public
    License along with this program; if not, see <http://www.gnu.org/licenses/>.
-
+  
    Author: Alexander Larsson <alexl redhat com>
 */
 
 #include <config.h>
 #include "nautilus-desktop-icon-file.h"
+
 #include "nautilus-desktop-metadata.h"
 #include "nautilus-desktop-directory-file.h"
-#include "nautilus-desktop-directory.h"
-
-#include <libnautilus-private/nautilus-directory-notify.h>
-#include <libnautilus-private/nautilus-directory-private.h>
-#include <libnautilus-private/nautilus-file-attributes.h>
-#include <libnautilus-private/nautilus-file-private.h>
-#include <libnautilus-private/nautilus-file-utilities.h>
-#include <libnautilus-private/nautilus-file-operations.h>
-#include <libnautilus-private/nautilus-link.h>
-#include <libnautilus-private/nautilus-file-undo-manager.h>
-
+#include "nautilus-directory-notify.h"
+#include "nautilus-directory-private.h"
+#include "nautilus-file-attributes.h"
+#include "nautilus-file-private.h"
+#include "nautilus-file-utilities.h"
+#include "nautilus-file-operations.h"
+#include "nautilus-link.h"
+#include "nautilus-file-undo-manager.h"
 #include <eel/eel-glib-extensions.h>
+#include "nautilus-desktop-directory.h"
 #include <glib/gi18n.h>
 #include <string.h>
 #include <gio/gio.h>
@@ -96,7 +95,7 @@ desktop_icon_file_check_if_ready (NautilusFile *file,
 }
 
 static gboolean
-desktop_icon_file_get_item_count (NautilusFile *file,
+desktop_icon_file_get_item_count (NautilusFile *file, 
                                  guint *count,
                                  gboolean *count_unreadable)
 {
@@ -166,9 +165,9 @@ update_info_from_link (NautilusDesktopIconFile *icon_file)
        NautilusDesktopLink *link;
        char *display_name;
        GMount *mount;
-
+       
        file = NAUTILUS_FILE (icon_file);
-
+       
        link = icon_file->details->link;
 
        if (link == NULL) {
@@ -195,7 +194,7 @@ update_info_from_link (NautilusDesktopIconFile *icon_file)
                file->details->can_unmount = g_mount_can_unmount (mount);
                file->details->can_eject = g_mount_can_eject (mount);
        }
-
+       
        file->details->file_info_is_up_to_date = TRUE;
 
        display_name = nautilus_desktop_link_get_display_name (link);
@@ -221,7 +220,7 @@ void
 nautilus_desktop_icon_file_update (NautilusDesktopIconFile *icon_file)
 {
        NautilusFile *file;
-
+       
        update_info_from_link (icon_file);
        file = NAUTILUS_FILE (icon_file);
        nautilus_file_changed (file);
@@ -236,22 +235,22 @@ nautilus_desktop_icon_file_remove (NautilusDesktopIconFile *icon_file)
        icon_file->details->link = NULL;
 
        file = NAUTILUS_FILE (icon_file);
-
+       
        /* ref here because we might be removing the last ref when we
         * mark the file gone below, but we need to keep a ref at
-        * least long enough to send the change notification.
+        * least long enough to send the change notification. 
         */
        nautilus_file_ref (file);
-
+       
        file->details->is_gone = TRUE;
-
+       
        list.data = file;
        list.next = NULL;
        list.prev = NULL;
-
+       
        nautilus_directory_remove_file (file->details->directory, file);
        nautilus_directory_emit_change_signals (file->details->directory, &list);
-
+       
        nautilus_file_unref (file);
 }
 
@@ -315,7 +314,7 @@ nautilus_desktop_icon_file_unmount (NautilusFile                   *file,
 {
        NautilusDesktopIconFile *desktop_file;
        GMount *mount;
-
+       
        desktop_file = NAUTILUS_DESKTOP_ICON_FILE (file);
        if (desktop_file) {
                mount = nautilus_desktop_link_get_mount (desktop_file->details->link);
@@ -323,7 +322,7 @@ nautilus_desktop_icon_file_unmount (NautilusFile                   *file,
                        nautilus_file_operations_unmount_mount (NULL, mount, FALSE, TRUE);
                }
        }
-
+       
 }
 
 static void
@@ -335,7 +334,7 @@ nautilus_desktop_icon_file_eject (NautilusFile                   *file,
 {
        NautilusDesktopIconFile *desktop_file;
        GMount *mount;
-
+       
        desktop_file = NAUTILUS_DESKTOP_ICON_FILE (file);
        if (desktop_file) {
                mount = nautilus_desktop_link_get_mount (desktop_file->details->link);
diff --git a/nautilus-desktop/nautilus-desktop-icon-file.h b/libnautilus-private/nautilus-desktop-icon-file.h
similarity index 97%
rename from nautilus-desktop/nautilus-desktop-icon-file.h
rename to libnautilus-private/nautilus-desktop-icon-file.h
index c652365..8fe8027 100644
--- a/nautilus-desktop/nautilus-desktop-icon-file.h
+++ b/libnautilus-private/nautilus-desktop-icon-file.h
@@ -1,31 +1,30 @@
 /*
    nautilus-desktop-file.h: Subclass of NautilusFile to implement the
    the case of a desktop icon file
-
+ 
    Copyright (C) 2003 Red Hat, Inc.
-
+  
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License as
    published by the Free Software Foundation; either version 2 of the
    License, or (at your option) any later version.
-
+  
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    General Public License for more details.
-
+  
    You should have received a copy of the GNU General Public
    License along with this program; if not, see <http://www.gnu.org/licenses/>.
-
+  
    Author: Alexander Larsson <alexl redhat com>
 */
 
 #ifndef NAUTILUS_DESKTOP_ICON_FILE_H
 #define NAUTILUS_DESKTOP_ICON_FILE_H
 
-#include "nautilus-desktop-link.h"
-
 #include <libnautilus-private/nautilus-file.h>
+#include <libnautilus-private/nautilus-desktop-link.h>
 
 #define NAUTILUS_TYPE_DESKTOP_ICON_FILE nautilus_desktop_icon_file_get_type()
 #define NAUTILUS_DESKTOP_ICON_FILE(obj) \
diff --git a/nautilus-desktop/nautilus-desktop-link-monitor.c 
b/libnautilus-private/nautilus-desktop-link-monitor.c
similarity index 99%
rename from nautilus-desktop/nautilus-desktop-link-monitor.c
rename to libnautilus-private/nautilus-desktop-link-monitor.c
index 54ce6da..21b0cd6 100644
--- a/nautilus-desktop/nautilus-desktop-link-monitor.c
+++ b/libnautilus-private/nautilus-desktop-link-monitor.c
@@ -23,7 +23,9 @@
 #include "nautilus-desktop-link-monitor.h"
 #include "nautilus-desktop-link.h"
 #include "nautilus-desktop-icon-file.h"
+#include "nautilus-directory.h"
 #include "nautilus-desktop-directory.h"
+#include "nautilus-global-preferences.h"
 
 #include <eel/eel-debug.h>
 #include <eel/eel-vfs-extensions.h>
@@ -31,11 +33,7 @@
 #include <gtk/gtk.h>
 #include <glib/gi18n.h>
 #include <gio/gio.h>
-
 #include <libnautilus-private/nautilus-trash-monitor.h>
-#include <libnautilus-private/nautilus-global-preferences.h>
-#include <libnautilus-private/nautilus-directory.h>
-
 #include <string.h>
 
 struct NautilusDesktopLinkMonitorDetails {
diff --git a/nautilus-desktop/nautilus-desktop-link-monitor.h 
b/libnautilus-private/nautilus-desktop-link-monitor.h
similarity index 97%
rename from nautilus-desktop/nautilus-desktop-link-monitor.h
rename to libnautilus-private/nautilus-desktop-link-monitor.h
index 304f239..dc47aea 100644
--- a/nautilus-desktop/nautilus-desktop-link-monitor.h
+++ b/libnautilus-private/nautilus-desktop-link-monitor.h
@@ -23,7 +23,7 @@
 #define NAUTILUS_DESKTOP_LINK_MONITOR_H
 
 #include <gtk/gtk.h>
-#include "nautilus-desktop-link.h"
+#include <libnautilus-private/nautilus-desktop-link.h>
 
 #define NAUTILUS_TYPE_DESKTOP_LINK_MONITOR nautilus_desktop_link_monitor_get_type()
 #define NAUTILUS_DESKTOP_LINK_MONITOR(obj) \
diff --git a/nautilus-desktop/nautilus-desktop-link.c b/libnautilus-private/nautilus-desktop-link.c
similarity index 99%
rename from nautilus-desktop/nautilus-desktop-link.c
rename to libnautilus-private/nautilus-desktop-link.c
index df25663..f6decb6 100644
--- a/nautilus-desktop/nautilus-desktop-link.c
+++ b/libnautilus-private/nautilus-desktop-link.c
@@ -20,21 +20,17 @@
 */
 
 #include <config.h>
-
 #include "nautilus-desktop-link.h"
 #include "nautilus-desktop-link-monitor.h"
 #include "nautilus-desktop-icon-file.h"
 #include "nautilus-directory-private.h"
 #include "nautilus-desktop-directory.h"
-
+#include "nautilus-icon-names.h"
 #include <glib/gi18n.h>
 #include <gio/gio.h>
-
 #include <libnautilus-private/nautilus-file-utilities.h>
 #include <libnautilus-private/nautilus-trash-monitor.h>
 #include <libnautilus-private/nautilus-global-preferences.h>
-#include <libnautilus-private/nautilus-icon-names.h>
-
 #include <string.h>
 
 struct NautilusDesktopLinkDetails {
diff --git a/nautilus-desktop/nautilus-desktop-link.h b/libnautilus-private/nautilus-desktop-link.h
similarity index 100%
rename from nautilus-desktop/nautilus-desktop-link.h
rename to libnautilus-private/nautilus-desktop-link.h
diff --git a/nautilus-desktop/nautilus-desktop-metadata.c b/libnautilus-private/nautilus-desktop-metadata.c
similarity index 95%
rename from nautilus-desktop/nautilus-desktop-metadata.c
rename to libnautilus-private/nautilus-desktop-metadata.c
index 91a1200..e9ef2d6 100644
--- a/nautilus-desktop/nautilus-desktop-metadata.c
+++ b/libnautilus-private/nautilus-desktop-metadata.c
@@ -24,8 +24,8 @@
 
 #include "nautilus-desktop-metadata.h"
 
-#include <libnautilus-private/nautilus-file-utilities.h>
-#include <libnautilus-private/nautilus-keyfile-metadata.h>
+#include "nautilus-file-utilities.h"
+#include "nautilus-keyfile-metadata.h"
 
 static gchar *
 get_keyfile_path (void)
diff --git a/nautilus-desktop/nautilus-desktop-metadata.h b/libnautilus-private/nautilus-desktop-metadata.h
similarity index 100%
rename from nautilus-desktop/nautilus-desktop-metadata.h
rename to libnautilus-private/nautilus-desktop-metadata.h
diff --git a/src/Makefile.am b/src/Makefile.am
index 7f48592..e10e7ed 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,14 +1,11 @@
 include $(top_srcdir)/Makefile.shared
 
-AUTOMAKE_OPTIONS = subdir-objects
-
 bin_PROGRAMS=                                  \
        nautilus                                \
+       nautilus-desktop                        \
        nautilus-autorun-software               \
        $(NULL)
 
-noinst_LTLIBRARIES=libnautilus.la
-
 AM_CPPFLAGS =                                                  \
        -I$(top_srcdir)                                         \
        -I$(top_srcdir)/libnautilus-private                     \
@@ -29,10 +26,6 @@ AM_CPPFLAGS =                                                        \
        $(NULL)
 
 LDADD =\
-       libnautilus.la \
-       $(NULL)
-
-libnautilus_la_LIBADD =\
        $(top_builddir)/libnautilus-private/libnautilus-private.la  \
        $(top_builddir)/libgd/libgd.la \
        $(BASE_LIBS) \
@@ -157,8 +150,16 @@ nautilus_no_main_sources = \
        nautilus-canvas-view-container.h        \
        nautilus-dbus-manager.c                 \
        nautilus-dbus-manager.h                 \
+       nautilus-desktop-canvas-view.c          \
+       nautilus-desktop-canvas-view.h          \
+       nautilus-desktop-canvas-view-container.c        \
+       nautilus-desktop-canvas-view-container.h        \
        nautilus-desktop-item-properties.c      \
        nautilus-desktop-item-properties.h      \
+       nautilus-desktop-window.c               \
+       nautilus-desktop-window.h               \
+       nautilus-desktop-window-slot.c          \
+       nautilus-desktop-window-slot.h          \
        nautilus-error-reporting.c              \
        nautilus-error-reporting.h              \
        nautilus-preferences-window.c   \
@@ -226,13 +227,24 @@ nautilus_no_main_sources = \
        nautilus-x-content-bar.h                \
        $(NULL)
 
-nodist_libnautilus_la_SOURCES = \
+nautilus_SOURCES = \
+       $(nautilus_no_main_sources)             \
+       nautilus-main.c                         \
+       $(NULL)
+
+nautilus_desktop_SOURCES=                              \
+       $(nautilus_no_main_sources)                     \
+       main-desktop.c                                  \
+       nautilus-desktop-application.c                  \
+       nautilus-desktop-application.h                  \
+       $(NULL)
+
+nodist_nautilus_SOURCES = \
        $(nautilus_built_sources) \
-       $(nautilus_no_main_sources) \
        $(NULL)
 
-nautilus_SOURCES = \
-       nautilus-main.c                         \
+nodist_nautilus_desktop_SOURCES = \
+       $(nautilus_built_sources) \
        $(NULL)
 
 EMPTY_VIEW_SOURCES = \
diff --git a/nautilus-desktop/main-desktop.c b/src/main-desktop.c
similarity index 100%
rename from nautilus-desktop/main-desktop.c
rename to src/main-desktop.c
diff --git a/nautilus-desktop/nautilus-desktop-application.c b/src/nautilus-desktop-application.c
similarity index 100%
rename from nautilus-desktop/nautilus-desktop-application.c
rename to src/nautilus-desktop-application.c
diff --git a/nautilus-desktop/nautilus-desktop-application.h b/src/nautilus-desktop-application.h
similarity index 100%
rename from nautilus-desktop/nautilus-desktop-application.h
rename to src/nautilus-desktop-application.h
diff --git a/nautilus-desktop/nautilus-desktop-canvas-view-container.c 
b/src/nautilus-desktop-canvas-view-container.c
similarity index 100%
rename from nautilus-desktop/nautilus-desktop-canvas-view-container.c
rename to src/nautilus-desktop-canvas-view-container.c
diff --git a/nautilus-desktop/nautilus-desktop-canvas-view-container.h 
b/src/nautilus-desktop-canvas-view-container.h
similarity index 100%
rename from nautilus-desktop/nautilus-desktop-canvas-view-container.h
rename to src/nautilus-desktop-canvas-view-container.h
diff --git a/nautilus-desktop/nautilus-desktop-canvas-view.c b/src/nautilus-desktop-canvas-view.c
similarity index 99%
rename from nautilus-desktop/nautilus-desktop-canvas-view.c
rename to src/nautilus-desktop-canvas-view.c
index 04731d9..5c79312 100644
--- a/nautilus-desktop/nautilus-desktop-canvas-view.c
+++ b/src/nautilus-desktop-canvas-view.c
@@ -27,9 +27,9 @@
 
 #include "nautilus-desktop-canvas-view.h"
 
+#include "nautilus-canvas-view-container.h"
 #include "nautilus-desktop-canvas-view-container.h"
-#include "nautilus-desktop-icon-file.h"
-#include "nautilus-desktop-directory.h"
+#include "nautilus-files-view.h"
 
 #include <X11/Xatom.h>
 #include <gtk/gtk.h>
@@ -39,6 +39,8 @@
 #include <fcntl.h>
 #include <gdk/gdkx.h>
 #include <glib/gi18n.h>
+#include <libnautilus-private/nautilus-desktop-icon-file.h>
+#include <libnautilus-private/nautilus-desktop-directory.h>
 #include <libnautilus-private/nautilus-directory-notify.h>
 #include <libnautilus-private/nautilus-file-changes-queue.h>
 #include <libnautilus-private/nautilus-file-operations.h>
@@ -50,7 +52,6 @@
 #include <libnautilus-private/nautilus-monitor.h>
 #include <libnautilus-private/nautilus-program-choosing.h>
 #include <libnautilus-private/nautilus-trash-monitor.h>
-#include <src/nautilus-files-view.h>
 #include <limits.h>
 #include <stddef.h>
 #include <stdio.h>
diff --git a/nautilus-desktop/nautilus-desktop-canvas-view.h b/src/nautilus-desktop-canvas-view.h
similarity index 100%
rename from nautilus-desktop/nautilus-desktop-canvas-view.h
rename to src/nautilus-desktop-canvas-view.h
diff --git a/nautilus-desktop/nautilus-desktop-window-slot.c b/src/nautilus-desktop-window-slot.c
similarity index 100%
rename from nautilus-desktop/nautilus-desktop-window-slot.c
rename to src/nautilus-desktop-window-slot.c
diff --git a/nautilus-desktop/nautilus-desktop-window-slot.h b/src/nautilus-desktop-window-slot.h
similarity index 94%
rename from nautilus-desktop/nautilus-desktop-window-slot.h
rename to src/nautilus-desktop-window-slot.h
index fcc64af..fc895ce 100644
--- a/nautilus-desktop/nautilus-desktop-window-slot.h
+++ b/src/nautilus-desktop-window-slot.h
@@ -18,8 +18,8 @@
 #ifndef NAUTILUS_DESKTOP_WINDOW_SLOT_H
 #define NAUTILUS_DESKTOP_WINDOW_SLOT_H
 
-#include <src/nautilus-window-slot.h>
-#include <src/nautilus-window.h>
+#include "nautilus-window-slot.h"
+#include "nautilus-window.h"
 
 G_BEGIN_DECLS
 
diff --git a/nautilus-desktop/nautilus-desktop-window.c b/src/nautilus-desktop-window.c
similarity index 98%
rename from nautilus-desktop/nautilus-desktop-window.c
rename to src/nautilus-desktop-window.c
index 3e361be..5b78cb3 100644
--- a/nautilus-desktop/nautilus-desktop-window.c
+++ b/src/nautilus-desktop-window.c
@@ -21,10 +21,10 @@
  */
 
 #include <config.h>
-
 #include "nautilus-desktop-window.h"
+#include "nautilus-window.h"
+#include "nautilus-application.h"
 #include "nautilus-desktop-window-slot.h"
-#include "nautilus-desktop-link-monitor.h"
 
 #include <X11/Xatom.h>
 #include <gdk/gdkx.h>
@@ -33,11 +33,10 @@
 #include <glib/gi18n.h>
 
 #include <eel/eel-vfs-extensions.h>
+#include <libnautilus-private/nautilus-desktop-link-monitor.h>
 #include <libnautilus-private/nautilus-file-utilities.h>
 #include <libnautilus-private/nautilus-icon-names.h>
 #include <libnautilus-private/nautilus-global-preferences.h>
-#include <src/nautilus-window.h>
-#include <src/nautilus-application.h>
 
 struct NautilusDesktopWindowDetails {
        gulong size_changed_id;
diff --git a/nautilus-desktop/nautilus-desktop-window.h b/src/nautilus-desktop-window.h
similarity index 98%
rename from nautilus-desktop/nautilus-desktop-window.h
rename to src/nautilus-desktop-window.h
index 818c23b..589d2b4 100644
--- a/nautilus-desktop/nautilus-desktop-window.h
+++ b/src/nautilus-desktop-window.h
@@ -26,7 +26,7 @@
 #ifndef NAUTILUS_DESKTOP_WINDOW_H
 #define NAUTILUS_DESKTOP_WINDOW_H
 
-#include <src/nautilus-window.h>
+#include "nautilus-window.h"
 
 #define NAUTILUS_TYPE_DESKTOP_WINDOW nautilus_desktop_window_get_type()
 #define NAUTILUS_DESKTOP_WINDOW(obj) \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]