aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/calendar/e-cal-shell-view-memopad.c3
-rw-r--r--modules/calendar/e-cal-shell-view-private.c3
-rw-r--r--modules/calendar/e-cal-shell-view-taskpad.c3
-rw-r--r--modules/calendar/e-memo-shell-view-private.c3
-rw-r--r--modules/calendar/e-task-shell-view-private.c3
5 files changed, 10 insertions, 5 deletions
diff --git a/modules/calendar/e-cal-shell-view-memopad.c b/modules/calendar/e-cal-shell-view-memopad.c
index 267f8145f6..7fdf356304 100644
--- a/modules/calendar/e-cal-shell-view-memopad.c
+++ b/modules/calendar/e-cal-shell-view-memopad.c
@@ -435,8 +435,9 @@ e_cal_shell_view_memopad_set_status_message (ECalShellView *cal_shell_view,
}
} else if (activity == NULL) {
- activity = e_activity_new (status_message);
+ activity = e_activity_new ();
e_activity_set_percent (activity, percent);
+ e_activity_set_primary_text (activity, status_message);
e_shell_backend_add_activity (shell_backend, activity);
} else {
diff --git a/modules/calendar/e-cal-shell-view-private.c b/modules/calendar/e-cal-shell-view-private.c
index a02888db8e..c5a9f22f03 100644
--- a/modules/calendar/e-cal-shell-view-private.c
+++ b/modules/calendar/e-cal-shell-view-private.c
@@ -810,8 +810,9 @@ e_cal_shell_view_set_status_message (ECalShellView *cal_shell_view,
activity = NULL;
}
} else if (activity == NULL) {
- activity = e_activity_new (status_message);
+ activity = e_activity_new ();
e_activity_set_percent (activity, percent);
+ e_activity_set_primary_text (activity, status_message);
e_shell_backend_add_activity (shell_backend, activity);
} else {
e_activity_set_percent (activity, percent);
diff --git a/modules/calendar/e-cal-shell-view-taskpad.c b/modules/calendar/e-cal-shell-view-taskpad.c
index c7269bcfd1..a00e630afd 100644
--- a/modules/calendar/e-cal-shell-view-taskpad.c
+++ b/modules/calendar/e-cal-shell-view-taskpad.c
@@ -562,8 +562,9 @@ e_cal_shell_view_taskpad_set_status_message (ECalShellView *cal_shell_view,
}
} else if (activity == NULL) {
- activity = e_activity_new (status_message);
+ activity = e_activity_new ();
e_activity_set_percent (activity, percent);
+ e_activity_set_primary_text (activity, status_message);
e_shell_backend_add_activity (shell_backend, activity);
} else {
diff --git a/modules/calendar/e-memo-shell-view-private.c b/modules/calendar/e-memo-shell-view-private.c
index 061e3c0170..a33296daf5 100644
--- a/modules/calendar/e-memo-shell-view-private.c
+++ b/modules/calendar/e-memo-shell-view-private.c
@@ -375,8 +375,9 @@ e_memo_shell_view_set_status_message (EMemoShellView *memo_shell_view,
}
} else if (activity == NULL) {
- activity = e_activity_new (status_message);
+ activity = e_activity_new ();
e_activity_set_percent (activity, percent);
+ e_activity_set_primary_text (activity, status_message);
e_shell_backend_add_activity (shell_backend, activity);
} else {
diff --git a/modules/calendar/e-task-shell-view-private.c b/modules/calendar/e-task-shell-view-private.c
index e5cf75711c..5e1b352ecd 100644
--- a/modules/calendar/e-task-shell-view-private.c
+++ b/modules/calendar/e-task-shell-view-private.c
@@ -524,8 +524,9 @@ e_task_shell_view_set_status_message (ETaskShellView *task_shell_view,
}
} else if (activity == NULL) {
- activity = e_activity_new (status_message);
+ activity = e_activity_new ();
e_activity_set_percent (activity, percent);
+ e_activity_set_primary_text (activity, status_message);
e_shell_backend_add_activity (shell_backend, activity);
} else {