Updated Traditional Chinese translation(Hong Kong and Taiwan)
[evolution.git] / modules / mail / em-composer-prefs.h
blobf39af57c4e670e5c15e844097599c9cca2a593b4
1 /*
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU Lesser General Public
4 * License as published by the Free Software Foundation; either
5 * version 2 of the License, or (at your option) version 3.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * Lesser General Public License for more details.
12 * You should have received a copy of the GNU Lesser General Public
13 * License along with the program; if not, see <http://www.gnu.org/licenses/>
16 * Authors:
17 * Jeffrey Stedfast <fejj@ximian.com>
19 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
23 #ifndef EM_COMPOSER_PREFS_H
24 #define EM_COMPOSER_PREFS_H
26 #include <gtk/gtk.h>
27 #include <gtkhtml/gtkhtml.h>
29 #include <shell/e-shell.h>
30 #include <widgets/misc/e-preferences-window.h>
32 /* Standard GObject macros */
33 #define EM_TYPE_COMPOSER_PREFS \
34 (em_composer_prefs_get_type ())
35 #define EM_COMPOSER_PREFS(obj) \
36 (G_TYPE_CHECK_INSTANCE_CAST \
37 ((obj), EM_TYPE_COMPOSER_PREFS, EMComposerPrefs))
38 #define EM_COMPOSER_PREFS_CLASS(cls) \
39 (G_TYPE_CHECK_CLASS_CAST \
40 ((cls), EM_TYPE_COMPOSER_PREFS, EMComposerPrefsClass))
41 #define EM_IS_COMPOSER_PREFS(obj) \
42 (G_TYPE_CHECK_INSTANCE_TYPE \
43 ((obj), EM_TYPE_COMPOSER_PREFS))
44 #define EM_IS_COMPOSER_PREFS_CLASS(cls) \
45 (G_TYPE_CHECK_CLASS_TYPE \
46 ((cls), EM_TYPE_COMPOSER_PREFS))
47 #define EM_COMPOSER_PREFS_GET_CLASS(obj) \
48 (G_TYPE_INSTANCE_GET_CLASS \
49 ((obj), EM_TYPE_COMPOSER_PREFS, EMComposerPrefsClass))
51 G_BEGIN_DECLS
53 typedef struct _EMComposerPrefs EMComposerPrefs;
54 typedef struct _EMComposerPrefsClass EMComposerPrefsClass;
56 struct _ESignature;
58 struct _EMComposerPrefs {
59 GtkVBox parent;
61 GtkBuilder *builder;
63 /* General tab */
65 GtkTreeModel *language_model;
67 /* Forwards and Replies */
68 GtkComboBox *forward_style;
69 GtkComboBox *reply_style;
71 /* Signatures */
72 GtkHTML *sig_preview;
75 struct _EMComposerPrefsClass {
76 GtkVBoxClass parent_class;
79 GType em_composer_prefs_get_type (void);
80 GtkWidget *em_composer_prefs_new (EPreferencesWindow *window);
82 G_END_DECLS
84 #endif /* EM_COMPOSER_PREFS_H */