diff options
author | Tomas Popela <tpopela@redhat.com> | 2014-07-29 19:57:29 +0800 |
---|---|---|
committer | Tomas Popela <tpopela@redhat.com> | 2014-07-29 20:03:22 +0800 |
commit | 37393c0da9a6c7d41c942c383b23e4f106a83225 (patch) | |
tree | 5186519a813418b2b3553a3d2d669fabd1770ff6 /modules/settings/e-settings-html-editor-view.h | |
parent | b6d99e982e2d5a1c18f0991570a42a1c4b6b7d2d (diff) | |
download | gsoc2013-evolution-37393c0da9a6c7d41c942c383b23e4f106a83225.tar gsoc2013-evolution-37393c0da9a6c7d41c942c383b23e4f106a83225.tar.gz gsoc2013-evolution-37393c0da9a6c7d41c942c383b23e4f106a83225.tar.bz2 gsoc2013-evolution-37393c0da9a6c7d41c942c383b23e4f106a83225.tar.lz gsoc2013-evolution-37393c0da9a6c7d41c942c383b23e4f106a83225.tar.xz gsoc2013-evolution-37393c0da9a6c7d41c942c383b23e4f106a83225.tar.zst gsoc2013-evolution-37393c0da9a6c7d41c942c383b23e4f106a83225.zip |
Propagate settings from Prefences to the EHTMLEditorView
Namely "Use the same fonts as other applications", "Standard Font",
"Fixed Width Font", "Highlight quotations with color", "Automatically
insert emoticon images" and "Check spelling while I type". Also remove
unneded properties from EWebView.
Diffstat (limited to 'modules/settings/e-settings-html-editor-view.h')
-rw-r--r-- | modules/settings/e-settings-html-editor-view.h | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/modules/settings/e-settings-html-editor-view.h b/modules/settings/e-settings-html-editor-view.h new file mode 100644 index 0000000000..1848794fcc --- /dev/null +++ b/modules/settings/e-settings-html-editor-view.h @@ -0,0 +1,64 @@ +/* + * e-settings-html-editor-view.h + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, see <http://www.gnu.org/licenses/>. + * + */ + +#ifndef E_SETTINGS_HTML_EDITOR_VIEW_H +#define E_SETTINGS_HTML_EDITOR_VIEW_H + +#include <libebackend/libebackend.h> + +/* Standard GObject macros */ +#define E_TYPE_SETTINGS_HTML_EDITOR_VIEW \ + (e_settings_html_editor_view_get_type ()) +#define E_SETTINGS_HTML_EDITOR_VIEW(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST \ + ((obj), E_TYPE_SETTINGS_HTML_EDITOR_VIEW, ESettingsHTMLEditorView)) +#define E_SETTINGS_HTML_EDITOR_VIEW_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_CAST \ + ((cls), E_TYPE_SETTINGS_HTML_EDITOR_VIEW, ESettingsHTMLEditorViewClass)) +#define E_IS_SETTINGS_HTML_EDITOR_VIEW(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE \ + ((obj), E_TYPE_SETTINGS_HTML_EDITOR_VIEW)) +#define E_IS_SETTINGS_HTML_EDITOR_VIEW_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_TYPE \ + ((cls), E_TYPE_SETTINGS_HTML_EDITOR_VIEW)) +#define E_SETTINGS_HTML_EDITOR_VIEW_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS \ + ((obj), E_TYPE_SETTINGS_HTML_EDITOR_VIEW, ESettingsHTMLEditorViewClass)) + +G_BEGIN_DECLS + +typedef struct _ESettingsHTMLEditorView ESettingsHTMLEditorView; +typedef struct _ESettingsHTMLEditorViewClass ESettingsHTMLEditorViewClass; +typedef struct _ESettingsHTMLEditorViewPrivate ESettingsHTMLEditorViewPrivate; + +struct _ESettingsHTMLEditorView { + EExtension parent; + ESettingsHTMLEditorViewPrivate *priv; +}; + +struct _ESettingsHTMLEditorViewClass { + EExtensionClass parent_class; +}; + +GType e_settings_html_editor_view_get_type + (void) G_GNUC_CONST; +void e_settings_html_editor_view_type_register + (GTypeModule *type_module); + +G_END_DECLS + +#endif /* E_SETTINGS_HTML_EDITOR_VIEW_H */ |