static void
set_source_and_destination (GtkWidget *w,
                            GFile *source,
                            GFile *destination,
                            GFile *dest_dir)
{
    NautilusFileConflictDialog *dialog;
    NautilusFileConflictDialogDetails *details;

    dialog = NAUTILUS_FILE_CONFLICT_DIALOG (w);
    details = dialog->details;

    details->source = nautilus_file_get (source);
    details->destination = nautilus_file_get (destination);
    details->dest_dir = nautilus_file_get (dest_dir);

    build_dialog_appearance (dialog);
}
static void
set_source_and_destination (GtkWidget *w,
                            GFile *source,
                            GFile *destination,
                            GFile *dest_dir)
{
    CajaFileConflictDialog *dialog;
    CajaFileConflictDialogDetails *details;

    dialog = CAJA_FILE_CONFLICT_DIALOG (w);
    details = dialog->details;

    details->source = caja_file_get (source);
    details->destination = caja_file_get (destination);
    details->dest_dir = caja_file_get (dest_dir);

    build_dialog_appearance (dialog);
}
Exemplo n.º 3
0
static void
set_source_and_destination (GtkWidget *w,
                            GFile *source,
                            GFile *destination,
                            GFile *dest_dir)
{
    MarlinFileConflictDialog *dialog;
    MarlinFileConflictDialogDetails *details;

    dialog = MARLIN_FILE_CONFLICT_DIALOG (w);
    details = dialog->details;

    details->source = gof_file_get (source);
    details->destination = gof_file_get (destination);
    details->dest_dir = gof_file_get (dest_dir);

    build_dialog_appearance (dialog);
}