summaryrefslogtreecommitdiff
path: root/src/caja-desktop-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-desktop-window.c')
-rw-r--r--src/caja-desktop-window.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/caja-desktop-window.c b/src/caja-desktop-window.c
index 5e477cf5..aabc0468 100644
--- a/src/caja-desktop-window.c
+++ b/src/caja-desktop-window.c
@@ -39,6 +39,8 @@
struct CajaDesktopWindowDetails
{
gulong size_changed_id;
+
+ gboolean loaded;
};
G_DEFINE_TYPE (CajaDesktopWindow, caja_desktop_window,
@@ -94,9 +96,10 @@ caja_desktop_window_update_directory (CajaDesktopWindow *window)
g_assert (CAJA_IS_DESKTOP_WINDOW (window));
- CAJA_SPATIAL_WINDOW (window)->affect_spatial_window_on_next_location_change = TRUE;
location = g_file_new_for_uri (EEL_DESKTOP_URI);
caja_window_go_to (CAJA_WINDOW (window), location);
+ window->details->loaded = TRUE;
+
g_object_unref (location);
}
@@ -267,3 +270,10 @@ caja_desktop_window_class_init (CajaDesktopWindowClass *klass)
g_type_class_add_private (klass, sizeof (CajaDesktopWindowDetails));
}
+
+gboolean
+caja_desktop_window_loaded (CajaDesktopWindow *window)
+{
+ return window->details->loaded;
+}
+