aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/modules/e-cal-shell-view-private.c4
-rw-r--r--calendar/modules/e-memo-shell-view-private.c4
-rw-r--r--calendar/modules/e-task-shell-view-private.c4
3 files changed, 9 insertions, 3 deletions
diff --git a/calendar/modules/e-cal-shell-view-private.c b/calendar/modules/e-cal-shell-view-private.c
index 75d0e0e8db..d738d230b3 100644
--- a/calendar/modules/e-cal-shell-view-private.c
+++ b/calendar/modules/e-cal-shell-view-private.c
@@ -172,11 +172,13 @@ e_cal_shell_view_set_status_message (ECalShellView *cal_shell_view,
{
EActivity *activity;
EShellView *shell_view;
+ EShellModule *shell_module;
g_return_if_fail (E_IS_CAL_SHELL_VIEW (cal_shell_view));
activity = cal_shell_view->priv->activity;
shell_view = E_SHELL_VIEW (cal_shell_view);
+ shell_module = e_shell_view_get_shell_module (shell_view);
if (status_message == NULL || *status_message == '\0') {
if (activity != NULL) {
@@ -187,7 +189,7 @@ e_cal_shell_view_set_status_message (ECalShellView *cal_shell_view,
} else if (activity == NULL) {
activity = e_activity_new (status_message);
- e_shell_view_add_activity (shell_view, activity);
+ e_shell_module_add_activity (shell_module, activity);
} else
e_activity_set_primary_text (activity, status_message);
diff --git a/calendar/modules/e-memo-shell-view-private.c b/calendar/modules/e-memo-shell-view-private.c
index 9fa67bbb30..b4df0ccf9b 100644
--- a/calendar/modules/e-memo-shell-view-private.c
+++ b/calendar/modules/e-memo-shell-view-private.c
@@ -448,11 +448,13 @@ e_memo_shell_view_set_status_message (EMemoShellView *memo_shell_view,
{
EActivity *activity;
EShellView *shell_view;
+ EShellModule *shell_module;
g_return_if_fail (E_IS_MEMO_SHELL_VIEW (memo_shell_view));
activity = memo_shell_view->priv->activity;
shell_view = E_SHELL_VIEW (memo_shell_view);
+ shell_module = e_shell_view_get_shell_module (shell_view);
if (status_message == NULL || *status_message == '\0') {
if (activity != NULL) {
@@ -463,7 +465,7 @@ e_memo_shell_view_set_status_message (EMemoShellView *memo_shell_view,
} else if (activity == NULL) {
activity = e_activity_new (status_message);
- e_shell_view_add_activity (shell_view, activity);
+ e_shell_module_add_activity (shell_module, activity);
} else
e_activity_set_primary_text (activity, status_message);
diff --git a/calendar/modules/e-task-shell-view-private.c b/calendar/modules/e-task-shell-view-private.c
index 0b81de1186..a038194cf5 100644
--- a/calendar/modules/e-task-shell-view-private.c
+++ b/calendar/modules/e-task-shell-view-private.c
@@ -427,11 +427,13 @@ e_task_shell_view_set_status_message (ETaskShellView *task_shell_view,
{
EActivity *activity;
EShellView *shell_view;
+ EShellModule *shell_module;
g_return_if_fail (E_IS_TASK_SHELL_VIEW (task_shell_view));
activity = task_shell_view->priv->activity;
shell_view = E_SHELL_VIEW (task_shell_view);
+ shell_module = e_shell_view_get_shell_module (shell_view);
if (status_message == NULL || *status_message == '\0') {
if (activity != NULL) {
@@ -442,7 +444,7 @@ e_task_shell_view_set_status_message (ETaskShellView *task_shell_view,
} else if (activity == NULL) {
activity = e_activity_new (status_message);
- e_shell_view_add_activity (shell_view, activity);
+ e_shell_module_add_activity (shell_module, activity);
} else
e_activity_set_primary_text (activity, status_message);