--- nautilus-3.4.2.orig/libnautilus-private/nautilus-file-operations.c
+++ nautilus-3.4.2/libnautilus-private/nautilus-file-operations.c
@@ -195,6 +195,7 @@ typedef struct {
 #define COPY_FORCE _("Copy _Anyway")
 
 #define ZEITGEIST_NAUTILUS_ACTOR "application://nautilus.desktop"
+#define LGI_2015_12_24
 
 static void
 send_event_to_zeitgeist (ZeitgeistEvent *event)
@@ -4771,7 +4772,7 @@ nautilus_file_operations_copy (GList *fi
 	job->debuting_files = g_hash_table_new_full (g_file_hash, (GEqualFunc)g_file_equal, g_object_unref, NULL);
 
 	inhibit_power_manager ((CommonJob *)job, _("Copying Files"));
-
+#ifndef LGI_2015_12_24
 	if (!nautilus_file_undo_manager_pop_flag ()) {
 		GFile* src_dir;
 
@@ -4782,7 +4783,16 @@ nautilus_file_operations_copy (GList *fi
 
 		g_object_unref (src_dir);
 	}
+#else
+	GFile* src_dir;
+
+	src_dir = g_file_get_parent (files->data);
+	job->common.undo_info = nautilus_file_undo_info_ext_new (NAUTILUS_FILE_UNDO_OP_COPY,
+								 g_list_length (files),
+								 src_dir, target_dir);
 
+	g_object_unref (src_dir);
+#endif
 	g_io_scheduler_push_job (copy_job,
 			   job,
 			   NULL, /* destroy notify */
