aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/modules/e-task-shell-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/modules/e-task-shell-view.c')
-rw-r--r--calendar/modules/e-task-shell-view.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/modules/e-task-shell-view.c b/calendar/modules/e-task-shell-view.c
index 8ff7e16c91..9fc0643a14 100644
--- a/calendar/modules/e-task-shell-view.c
+++ b/calendar/modules/e-task-shell-view.c
@@ -148,6 +148,7 @@ task_shell_view_update_actions (EShellView *shell_view)
action = ACTION (TASK_ASSIGN);
sensitive = (n_selected == 1) && editable && assignable;
+ gtk_action_set_sensitive (action, sensitive);
action = ACTION (TASK_CLIPBOARD_COPY);
sensitive = (n_selected > 0);
@@ -213,7 +214,7 @@ task_shell_view_update_actions (EShellView *shell_view)
}
static void
-task_shell_view_class_init (ETaskShellView *class,
+task_shell_view_class_init (ETaskShellViewClass *class,
GTypeModule *type_module)
{
GObjectClass *object_class;