summaryrefslogtreecommitdiffstats
path: root/src/nautilus-operations-ui-manager.h
blob: 032ffb5bd16fb12575bfb74eb2cb8e62a9f11f4d (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>

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,
                                                           GFile     *src,
                                                           GFile     *dest,
                                                           GFile     *dest_dir);

enum
{
    CONFLICT_RESPONSE_SKIP = 1,
    CONFLICT_RESPONSE_REPLACE = 2,
    CONFLICT_RESPONSE_RENAME = 3,
};

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