summaryrefslogtreecommitdiff
path: root/src/nautilus-operations-ui-manager.h
blob: d115ff7163873da255a5f19ae9385cf590fda20e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once

#include <gio/gio.h>
#include <gtk/gtk.h>

#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);

void handle_unsupported_compressed_file (GtkWindow *parent_window,
                                         GFile     *compressed_file);

gchar *extract_ask_passphrase (GtkWindow   *parent_window,
                               const gchar *archive_basename);