aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-03-12 01:18:57 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-03-12 01:37:57 +0800
commit98f4b4a74bd7492f28e1fba889ed10e9c82a7cd5 (patch)
tree3f4b11199cb011d46936ab3437eeb7b52dedfd04 /calendar/gui
parentee18b469c70ff2f6b9b6cff60bcaa57207a6ed0b (diff)
downloadgsoc2013-evolution-98f4b4a74bd7492f28e1fba889ed10e9c82a7cd5.tar
gsoc2013-evolution-98f4b4a74bd7492f28e1fba889ed10e9c82a7cd5.tar.gz
gsoc2013-evolution-98f4b4a74bd7492f28e1fba889ed10e9c82a7cd5.tar.bz2
gsoc2013-evolution-98f4b4a74bd7492f28e1fba889ed10e9c82a7cd5.tar.lz
gsoc2013-evolution-98f4b4a74bd7492f28e1fba889ed10e9c82a7cd5.tar.xz
gsoc2013-evolution-98f4b4a74bd7492f28e1fba889ed10e9c82a7cd5.tar.zst
gsoc2013-evolution-98f4b4a74bd7492f28e1fba889ed10e9c82a7cd5.zip
Add ESettingsSpellEntry.
Automatically configures the "checking-enabled" property on all ESpellEntry instances.
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/event-page.c11
-rw-r--r--calendar/gui/dialogs/memo-page.c15
-rw-r--r--calendar/gui/dialogs/task-page.c15
3 files changed, 0 insertions, 41 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c
index 6225eb7a47..f1f7c05e89 100644
--- a/calendar/gui/dialogs/event-page.c
+++ b/calendar/gui/dialogs/event-page.c
@@ -2653,17 +2653,6 @@ get_widgets (EventPage *epage)
gtk_entry_set_completion (GTK_ENTRY (priv->categories), completion);
g_object_unref (completion);
- if (priv->summary) {
- EShellSettings *shell_settings;
-
- shell_settings = e_shell_get_shell_settings (shell);
-
- g_object_bind_property (
- shell_settings, "composer-inline-spelling",
- priv->summary, "checking-enabled",
- G_BINDING_SYNC_CREATE);
- }
-
return (priv->summary
&& priv->location
&& priv->start_time
diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c
index 7c33ec6864..c202444a2b 100644
--- a/calendar/gui/dialogs/memo-page.c
+++ b/calendar/gui/dialogs/memo-page.c
@@ -906,21 +906,6 @@ get_widgets (MemoPage *mpage)
gtk_entry_set_completion (GTK_ENTRY (priv->categories), completion);
g_object_unref (completion);
- if (priv->summary_entry) {
- EShell *shell;
- EShellSettings *shell_settings;
- CompEditor *editor;
-
- editor = comp_editor_page_get_editor (page);
- shell = comp_editor_get_shell (editor);
- shell_settings = e_shell_get_shell_settings (shell);
-
- g_object_bind_property (
- shell_settings, "composer-inline-spelling",
- priv->summary_entry, "checking-enabled",
- G_BINDING_SYNC_CREATE);
- }
-
return (priv->memo_content
&& priv->categories_btn
&& priv->categories
diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c
index 8cd35bda7e..1eb5f00354 100644
--- a/calendar/gui/dialogs/task-page.c
+++ b/calendar/gui/dialogs/task-page.c
@@ -1539,21 +1539,6 @@ get_widgets (TaskPage *tpage)
gtk_entry_set_completion (GTK_ENTRY (priv->categories), completion);
g_object_unref (completion);
- if (priv->summary) {
- EShell *shell;
- EShellSettings *shell_settings;
- CompEditor *editor;
-
- editor = comp_editor_page_get_editor (page);
- shell = comp_editor_get_shell (editor);
- shell_settings = e_shell_get_shell_settings (shell);
-
- g_object_bind_property (
- shell_settings, "composer-inline-spelling",
- priv->summary, "checking-enabled",
- G_BINDING_SYNC_CREATE);
- }
-
return (priv->summary
&& priv->summary_label
&& priv->due_date