From 3ade071f273aaa973e44bf95d6b1d4913a18f03b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:39:48 +0200 Subject: Adding upstream version 43.2. Signed-off-by: Daniel Baumann --- src/nautilus-operations-ui-manager.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/nautilus-operations-ui-manager.h (limited to 'src/nautilus-operations-ui-manager.h') diff --git a/src/nautilus-operations-ui-manager.h b/src/nautilus-operations-ui-manager.h new file mode 100644 index 0000000..3bd4512 --- /dev/null +++ b/src/nautilus-operations-ui-manager.h @@ -0,0 +1,34 @@ +#pragma once + +#include +#include + +#define BUTTON_ACTIVATION_DELAY_IN_SECONDS 2 + +typedef struct { + int id; + char *new_name; + gboolean apply_to_all; +} FileConflictResponse; + +void file_conflict_response_free (FileConflictResponse *data); + +FileConflictResponse * copy_move_conflict_ask_user_action (GtkWindow *parent_window, + gboolean should_start_inactive, + GFile *src, + GFile *dest, + GFile *dest_dir, + gchar *suggestion); + +enum +{ + CONFLICT_RESPONSE_SKIP = 1, + CONFLICT_RESPONSE_REPLACE = 2, + CONFLICT_RESPONSE_RENAME = 3, +}; + +void handle_unsupported_compressed_file (GtkWindow *parent_window, + GFile *compressed_file); + +gchar *extract_ask_passphrase (GtkWindow *parent_window, + const gchar *archive_basename); -- cgit v1.2.3