From 37393c0da9a6c7d41c942c383b23e4f106a83225 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Tue, 29 Jul 2014 13:57:29 +0200 Subject: 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. --- modules/settings/e-settings-html-editor-view.h | 64 ++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 modules/settings/e-settings-html-editor-view.h (limited to 'modules/settings/e-settings-html-editor-view.h') 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 . + * + */ + +#ifndef E_SETTINGS_HTML_EDITOR_VIEW_H +#define E_SETTINGS_HTML_EDITOR_VIEW_H + +#include + +/* 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 */ -- cgit v1.2.3