~kroq-gar78/ubuntu/precise/gnome-control-center/fix-885947

« back to all changes in this revision

Viewing changes to capplets/common/file-transfer-dialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Moya
  • Date: 2011-05-17 10:47:27 UTC
  • mfrom: (0.1.11 experimental) (1.1.45 upstream)
  • Revision ID: james.westby@ubuntu.com-20110517104727-lqel6m8vhfw5jby1
Tags: 1:3.0.1.1-1ubuntu1
* Rebase on Debian, remaining Ubuntu changes:
* debian/control:
  - Build-Depend on hardening-wrapper, dpkg-dev and dh-autoreconf
  - Add dependency on ubuntu-system-service
  - Remove dependency on gnome-icon-theme-symbolic
  - Move dependency on apg, gnome-icon-theme-symbolic and accountsservice to
    be a Recommends: until we get them in main
* debian/rules:
  - Use autoreconf
  - Add binary-post-install rule for gnome-control-center-data
  - Run dh-autoreconf
* debian/gnome-control-center.dirs:
* debian/gnome-control-center.links:
  - Add a link to the control center shell for indicators
* debian/patches/00_disable-nm.patch:
  - Temporary patch to disable building with NetworkManager until we get
    the new one in the archive
* debian/patches/01_git_remove_gettext_calls.patch:
  - Remove calls to AM_GNU_GETTEXT, IT_PROG_INTLTOOL should be enough
* debian/patches/01_git_kill_warning.patch:
  - Kill warning
* debian/patches/50_ubuntu_systemwide_prefs.patch:
  - Ubuntu specific proxy preferences
* debian/patches/51_ubuntu_system_keyboard.patch:
  - Implement the global keyboard spec at https://wiki.ubuntu.com/DefaultKeyboardSettings

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- mode: c; style: linux -*- */
2
 
 
3
 
/* file-transfer-dialog.h
4
 
 * Copyright (C) 2002 Ximian, Inc.
5
 
 *
6
 
 * Written by Rachel Hestilow <hestilow@ximian.com>
7
 
 *
8
 
 * This program is free software; you can redistribute it and/or modify
9
 
 * it under the terms of the GNU General Public License as published by
10
 
 * the Free Software Foundation; either version 2, or (at your option)
11
 
 * any later version.
12
 
 *
13
 
 * This program is distributed in the hope that it will be useful,
14
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 
 * GNU General Public License for more details.
17
 
 *
18
 
 * You should have received a copy of the GNU General Public License
19
 
 * along with this program; if not, write to the Free Software
20
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
21
 
 * 02111-1307, USA.
22
 
 */
23
 
 
24
 
#ifndef __FILE_TRANSFER_DIALOG_H__
25
 
#define __FILE_TRANSFER_DIALOG_H__
26
 
 
27
 
#include <gtk/gtk.h>
28
 
 
29
 
G_BEGIN_DECLS
30
 
 
31
 
#define FILE_TRANSFER_DIALOG(obj)          G_TYPE_CHECK_INSTANCE_CAST (obj, file_transfer_dialog_get_type (), FileTransferDialog)
32
 
#define FILE_TRANSFER_DIALOG_CLASS(klass)  G_TYPE_CHECK_CLASS_CAST (klass, file_transfer_dialog_get_type (), FileTransferDialogClass)
33
 
#define IS_FILE_TRANSFER_DIALOG(obj)       G_TYPE_CHECK_INSTANCE_TYPE (obj, file_transfer_dialog_get_type ())
34
 
 
35
 
typedef struct _FileTransferDialog FileTransferDialog;
36
 
typedef struct _FileTransferDialogClass FileTransferDialogClass;
37
 
typedef struct _FileTransferDialogPrivate FileTransferDialogPrivate;
38
 
 
39
 
typedef enum {
40
 
        FILE_TRANSFER_DIALOG_DEFAULT = 1 << 0,
41
 
        FILE_TRANSFER_DIALOG_OVERWRITE = 1 << 1
42
 
} FileTransferDialogOptions;
43
 
 
44
 
struct _FileTransferDialog
45
 
{
46
 
        GtkDialog dialog;
47
 
 
48
 
        FileTransferDialogPrivate *priv;
49
 
};
50
 
 
51
 
struct _FileTransferDialogClass
52
 
{
53
 
        GtkDialogClass parent_class;
54
 
};
55
 
 
56
 
GType          file_transfer_dialog_get_type (void);
57
 
GtkWidget*     file_transfer_dialog_new (void);
58
 
GtkWidget*     file_transfer_dialog_new_with_parent (GtkWindow *parent);
59
 
 
60
 
void           file_transfer_dialog_copy_async (FileTransferDialog *dlg,
61
 
                                                GList *source_files,
62
 
                                                GList *target_files,
63
 
                                                FileTransferDialogOptions options,
64
 
                                                int priority);
65
 
 
66
 
 
67
 
G_END_DECLS
68
 
 
69
 
#endif /* __FILE_TRANSFER_DIALOG_H__ */