diff options
-rw-r--r-- | modules/calendar/e-memo-shell-content.c | 6 | ||||
-rw-r--r-- | modules/calendar/e-task-shell-content.c | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/modules/calendar/e-memo-shell-content.c b/modules/calendar/e-memo-shell-content.c index bd9cc09b57..ca1c1d8f5d 100644 --- a/modules/calendar/e-memo-shell-content.c +++ b/modules/calendar/e-memo-shell-content.c @@ -744,6 +744,12 @@ e_memo_shell_content_set_preview_visible (EMemoShellContent *memo_shell_content, memo_shell_content->priv->preview_visible = preview_visible; + if (preview_visible && memo_shell_content->priv->preview_pane) { + memo_shell_content_cursor_change_cb ( + memo_shell_content, 0, + E_TABLE (memo_shell_content->priv->memo_table)); + } + g_object_notify (G_OBJECT (memo_shell_content), "preview-visible"); } diff --git a/modules/calendar/e-task-shell-content.c b/modules/calendar/e-task-shell-content.c index 16b97311f4..2be1153775 100644 --- a/modules/calendar/e-task-shell-content.c +++ b/modules/calendar/e-task-shell-content.c @@ -769,6 +769,12 @@ e_task_shell_content_set_preview_visible (ETaskShellContent *task_shell_content, task_shell_content->priv->preview_visible = preview_visible; + if (preview_visible && task_shell_content->priv->preview_pane) { + task_shell_content_cursor_change_cb ( + task_shell_content, 0, + E_TABLE (task_shell_content->priv->task_table)); + } + g_object_notify (G_OBJECT (task_shell_content), "preview-visible"); } |