summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorSteve Zesch <[email protected]>2012-05-09 11:56:06 -0400
committerSteve Zesch <[email protected]>2012-05-09 11:56:06 -0400
commit4fa7bb2c6fe7e6a95bfb099d0364ff15e83b9001 (patch)
treef4d778e78720208e84a2a27562ca427dd277f0e4 /libcaja-private
parentaaf4c05d9a382b18eb2eced119eff8fbf0f4c763 (diff)
downloadcaja-4fa7bb2c6fe7e6a95bfb099d0364ff15e83b9001.tar.bz2
caja-4fa7bb2c6fe7e6a95bfb099d0364ff15e83b9001.tar.xz
Fixed keep aligned issue.
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-desktop-directory-file.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libcaja-private/caja-desktop-directory-file.c b/libcaja-private/caja-desktop-directory-file.c
index ebfa47ce..a87ec431 100644
--- a/libcaja-private/caja-desktop-directory-file.c
+++ b/libcaja-private/caja-desktop-directory-file.c
@@ -224,6 +224,10 @@ desktop_callback_check_done (DesktopCallback *desktop_callback)
return;
}
+ /* Ensure our metadata is updated before calling back. */
+ caja_desktop_update_metadata_from_mateconf(CAJA_FILE (desktop_callback->desktop_file),
+ "directory");
+
/* Remove from the hash table before sending it. */
g_hash_table_remove (desktop_callback->desktop_file->details->callbacks,
desktop_callback);
@@ -655,8 +659,6 @@ caja_desktop_directory_file_init (gpointer object, gpointer klass)
desktop_file->details->real_dir_file = real_dir_file;
- caja_desktop_update_metadata_from_mateconf (CAJA_FILE (desktop_file), "directory");
-
g_signal_connect_object (real_dir_file, "changed",
G_CALLBACK (real_file_changed_callback), desktop_file, 0);
}