diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-02 02:58:37 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-02 02:58:37 +0800 |
commit | e52986f4225cbe8496043da74ca250521d244705 (patch) | |
tree | b77ea07323e7ae339410012e672e643c1502eb91 /calendar | |
parent | c6795be3a8b7b17ced9e99e17db9ac6cbed6e018 (diff) | |
download | gsoc2013-evolution-e52986f4225cbe8496043da74ca250521d244705.tar.gz gsoc2013-evolution-e52986f4225cbe8496043da74ca250521d244705.tar.zst gsoc2013-evolution-e52986f4225cbe8496043da74ca250521d244705.zip |
Add more EShell API documentation.
svn path=/branches/kill-bonobo/; revision=36533
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/modules/e-cal-shell-view-private.c | 4 | ||||
-rw-r--r-- | calendar/modules/e-memo-shell-view-private.c | 4 | ||||
-rw-r--r-- | calendar/modules/e-task-shell-view-private.c | 4 |
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); |