mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-10-29 03:34:16 +00:00
Set position on move and link
2007-12-06 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file-operations.c: Set position on move and link svn path=/trunk/; revision=13498
This commit is contained in:
parent
45bfd9ce3b
commit
e55bf2bfde
2 changed files with 15 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-12-06 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* libnautilus-private/nautilus-file-operations.c:
|
||||
Set position on move and link
|
||||
|
||||
2007-12-06 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* libnautilus-private/nautilus-file-operations.[ch]:
|
||||
|
|
|
@ -1708,7 +1708,6 @@ report_count_progress (CommonJob *job,
|
|||
{
|
||||
char *s;
|
||||
|
||||
/* TODO: Handle other kinds */
|
||||
switch (source_info->op) {
|
||||
default:
|
||||
case OP_KIND_COPY:
|
||||
|
@ -3373,6 +3372,11 @@ move_file_prepare (CopyMoveJob *move_job,
|
|||
|
||||
nautilus_file_changes_queue_file_moved (src, dest);
|
||||
nautilus_file_changes_queue_schedule_metadata_move (src, dest);
|
||||
if (position) {
|
||||
nautilus_file_changes_queue_schedule_position_set (dest, *position, job->screen_num);
|
||||
} else {
|
||||
nautilus_file_changes_queue_schedule_position_remove (dest);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
@ -3811,6 +3815,11 @@ link_file (CopyMoveJob *job,
|
|||
}
|
||||
|
||||
nautilus_file_changes_queue_file_added (dest);
|
||||
if (position) {
|
||||
nautilus_file_changes_queue_schedule_position_set (dest, *position, common->screen_num);
|
||||
} else {
|
||||
nautilus_file_changes_queue_schedule_position_remove (dest);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue