diff options
author | António Fernandes <antoniof@gnome.org> | 2020-01-30 01:00:26 +0000 |
---|---|---|
committer | António Fernandes <antoniojpfernandes@gmail.com> | 2021-02-12 16:29:57 +0000 |
commit | 867e60521b039589bb1c017763f27c0497e09776 (patch) | |
tree | 1b081ca300454eb633b669223d67e6aacbb156e1 /src/nautilus-operations-ui-manager.h | |
parent | 25a4576b7b86ed9cd2447f31719362a000c916dc (diff) | |
download | nautilus-867e60521b039589bb1c017763f27c0497e09776.tar.gz |
file-conflict-dialog: Automatically suggest new name
When "Select new name for the destination" expander is selected, the
users must type a new name in order to proceed.
This makes them go and look at the destination to see what would even
make a unique name.
Let's be more helpful and suggest a unique name based on the original.
Closes https://gitlab.gnome.org/GNOME/nautilus/issues/1344
Diffstat (limited to 'src/nautilus-operations-ui-manager.h')
-rw-r--r-- | src/nautilus-operations-ui-manager.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nautilus-operations-ui-manager.h b/src/nautilus-operations-ui-manager.h index 032ffb5bd..4321c824f 100644 --- a/src/nautilus-operations-ui-manager.h +++ b/src/nautilus-operations-ui-manager.h @@ -14,7 +14,8 @@ void file_conflict_response_free (FileConflictResponse *data); FileConflictResponse * copy_move_conflict_ask_user_action (GtkWindow *parent_window, GFile *src, GFile *dest, - GFile *dest_dir); + GFile *dest_dir, + gchar *suggestion); enum { @@ -24,4 +25,4 @@ enum }; void handle_unsupported_compressed_file (GtkWindow *parent_window, - GFile *compressed_file);
\ No newline at end of file + GFile *compressed_file); |