From 74dd9c9f72002d482c898a704bb5b95655e35e08 Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Tue, 12 Dec 2017 16:56:29 +0200 Subject: general: remove desktop support --- src/nautilus-file-undo-operations.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/nautilus-file-undo-operations.c') diff --git a/src/nautilus-file-undo-operations.c b/src/nautilus-file-undo-operations.c index e971274ef..73ad6ff05 100644 --- a/src/nautilus-file-undo-operations.c +++ b/src/nautilus-file-undo-operations.c @@ -541,7 +541,6 @@ ext_create_link_redo_func (NautilusFileUndoInfoExt *self, GtkWindow *parent_window) { nautilus_file_operations_link (g_queue_peek_head_link (self->priv->sources), - NULL, self->priv->dest_dir, parent_window, file_undo_info_transfer_callback, @@ -553,7 +552,6 @@ ext_duplicate_redo_func (NautilusFileUndoInfoExt *self, GtkWindow *parent_window) { nautilus_file_operations_duplicate (g_queue_peek_head_link (self->priv->sources), - NULL, parent_window, file_undo_info_transfer_callback, self); @@ -564,7 +562,6 @@ ext_copy_redo_func (NautilusFileUndoInfoExt *self, GtkWindow *parent_window) { nautilus_file_operations_copy (g_queue_peek_head_link (self->priv->sources), - NULL, self->priv->dest_dir, parent_window, file_undo_info_transfer_callback, @@ -576,7 +573,6 @@ ext_move_restore_redo_func (NautilusFileUndoInfoExt *self, GtkWindow *parent_window) { nautilus_file_operations_move (g_queue_peek_head_link (self->priv->sources), - NULL, self->priv->dest_dir, parent_window, file_undo_info_transfer_callback, @@ -629,7 +625,6 @@ ext_move_undo_func (NautilusFileUndoInfoExt *self, GtkWindow *parent_window) { nautilus_file_operations_move (g_queue_peek_head_link (self->priv->destinations), - NULL, self->priv->src_dir, parent_window, file_undo_info_transfer_callback, @@ -822,7 +817,7 @@ create_from_template_redo_func (NautilusFileUndoInfoCreate *self, parent = g_file_get_parent (self->priv->target_file); parent_uri = g_file_get_uri (parent); new_name = g_file_get_parse_name (self->priv->target_file); - nautilus_file_operations_new_file_from_template (NULL, NULL, + nautilus_file_operations_new_file_from_template (NULL, parent_uri, new_name, self->priv->template, create_callback, self); @@ -843,7 +838,7 @@ create_folder_redo_func (NautilusFileUndoInfoCreate *self, name = g_file_get_basename (self->priv->target_file); parent = g_file_get_parent (self->priv->target_file); parent_uri = g_file_get_uri (parent); - nautilus_file_operations_new_folder (NULL, NULL, parent_uri, name, + nautilus_file_operations_new_folder (NULL, parent_uri, name, create_callback, self); g_free (name); @@ -862,7 +857,7 @@ create_empty_redo_func (NautilusFileUndoInfoCreate *self, parent = g_file_get_parent (self->priv->target_file); parent_uri = g_file_get_uri (parent); new_name = g_file_get_parse_name (self->priv->target_file); - nautilus_file_operations_new_file (NULL, NULL, parent_uri, + nautilus_file_operations_new_file (NULL, parent_uri, new_name, self->priv->template, self->priv->length, -- cgit v1.2.1