~ubuntu-branches/ubuntu/wily/evolution/wily

« back to all changes in this revision

Viewing changes to widgets/misc/e-mail-signature-editor.h

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2012-07-03 23:07:40 UTC
  • mfrom: (1.1.92)
  • Revision ID: package-import@ubuntu.com-20120703230740-0hjh6kfpxsyb88gx
Tags: 3.5.3.1-0ubuntu1
* New upstream release 3.5.3.1.
* debian/control:
  - Add libwebkitgtk-3.0-dev, libjavascriptcoregtk-3.0-dev >= 1.8.0 to build
    dependencies.
  - Adjust Build-Depends for the new minimum versions required for EDS 3.5.
  - Also update evolution's Depends to require evolution-data-server >= 3.5,
    and << 3.6.
* debian/rules:
  - Update ELIBDIR to point to /usr/lib/evolution/3.6 now, as per the base
    version defined in configure.
  - Build all plugins rather than enabling experimental specifically; we can
    sort them to other packages after.
  - Drop the binary-install/evolution-common target.
* debian/patches/01_ubuntu_signature.patch: dropped; upstream code has changed
  sufficiently that it would pretty much need a rewrite; and Evolution is no
  longer the default shipped mail client on Desktop.
* debian/patches/04_delay_alarm_notifier.patch: refreshed.
* debian/patches/89_remove_component_id_registration.patch: dropped: we don't
  have UNE anymore and component ID registration has been moved to GSettings.
* debian/patches/10_revert_libevolution_avoid-version.patch: refreshed.
* debian/patches/91_add_u1_email_translations.patch: refreshed.
* debian/evolution-common.install:
  - Drop debian/signature.py.
  - Don't install /usr/share/mime-info; it's not built anymore.
* debian/signature.py: dropped; since we dropped the Ubuntu signature patch.
* debian/evolution.install: don't try to install files in /etc/gconf; evo
  has migrated to GSettings so there are no such files anymore.
* debian/evolution.install,
  debian/evolution-plugins.install,
  debian/evolution-plugins-experimental.install: remove the plugins that were
  converted to modules. Modules are already installed by libevolution.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * e-mail-signature-editor.h
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or
 
5
 * modify it under the terms of the GNU Lesser General Public
 
6
 * License as published by the Free Software Foundation; either
 
7
 * version 2 of the License, or (at your option) version 3.
 
8
 *
 
9
 * This program is distributed in the hope that it will be useful,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
12
 * Lesser General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU Lesser General Public
 
15
 * License along with the program; if not, see <http://www.gnu.org/licenses/>
 
16
 *
 
17
 */
 
18
 
 
19
#ifndef E_MAIL_SIGNATURE_EDITOR_H
 
20
#define E_MAIL_SIGNATURE_EDITOR_H
 
21
 
 
22
#include <gtkhtml-editor.h>
 
23
#include <misc/e-focus-tracker.h>
 
24
#include <libedataserver/libedataserver.h>
 
25
 
 
26
/* Standard GObject macros */
 
27
#define E_TYPE_MAIL_SIGNATURE_EDITOR \
 
28
        (e_mail_signature_editor_get_type ())
 
29
#define E_MAIL_SIGNATURE_EDITOR(obj) \
 
30
        (G_TYPE_CHECK_INSTANCE_CAST \
 
31
        ((obj), E_TYPE_MAIL_SIGNATURE_EDITOR, EMailSignatureEditor))
 
32
#define E_MAIL_SIGNATURE_EDITOR_CLASS(cls) \
 
33
        (G_TYPE_CHECK_CLASS_CAST \
 
34
        ((cls), E_TYPE_MAIL_SIGNATURE_EDITOR, EMailSignatureEditorClass))
 
35
#define E_IS_MAIL_SIGNATURE_EDITOR(obj) \
 
36
        (G_TYPE_CHECK_INSTANCE_TYPE \
 
37
        ((obj), E_TYPE_MAIL_SIGNATURE_EDITOR))
 
38
#define E_IS_MAIL_SIGNATURE_EDITOR_CLASS(cls) \
 
39
        (G_TYPE_CHECK_CLASS_TYPE \
 
40
        ((cls), E_TYPE_MAIL_SIGNATURE_EDITOR))
 
41
#define E_MAIL_SIGNATURE_EDITOR_GET_CLASS(obj) \
 
42
        (G_TYPE_INSTANCE_GET_CLASS \
 
43
        ((obj), E_TYPE_MAIL_SIGNATURE_EDITOR, EMailSignatureEditorClass))
 
44
 
 
45
G_BEGIN_DECLS
 
46
 
 
47
typedef struct _EMailSignatureEditor EMailSignatureEditor;
 
48
typedef struct _EMailSignatureEditorClass EMailSignatureEditorClass;
 
49
typedef struct _EMailSignatureEditorPrivate EMailSignatureEditorPrivate;
 
50
 
 
51
struct _EMailSignatureEditor {
 
52
        GtkhtmlEditor parent;
 
53
        EMailSignatureEditorPrivate *priv;
 
54
};
 
55
 
 
56
struct _EMailSignatureEditorClass {
 
57
        GtkhtmlEditorClass parent_class;
 
58
};
 
59
 
 
60
GType           e_mail_signature_editor_get_type
 
61
                                                (void) G_GNUC_CONST;
 
62
GtkWidget *     e_mail_signature_editor_new     (ESourceRegistry *registry,
 
63
                                                 ESource *source);
 
64
EFocusTracker * e_mail_signature_editor_get_focus_tracker
 
65
                                                (EMailSignatureEditor *editor);
 
66
ESourceRegistry *
 
67
                e_mail_signature_editor_get_registry
 
68
                                                (EMailSignatureEditor *editor);
 
69
ESource *       e_mail_signature_editor_get_source
 
70
                                                (EMailSignatureEditor *editor);
 
71
void            e_mail_signature_editor_commit  (EMailSignatureEditor *editor,
 
72
                                                 GCancellable *cancellable,
 
73
                                                 GAsyncReadyCallback callback,
 
74
                                                 gpointer user_data);
 
75
gboolean        e_mail_signature_editor_commit_finish
 
76
                                                (EMailSignatureEditor *editor,
 
77
                                                 GAsyncResult *result,
 
78
                                                 GError **error);
 
79
 
 
80
G_END_DECLS
 
81
 
 
82
#endif /* E_MAIL_SIGNATURE_EDITOR_H */