aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/task-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs/task-editor.c')
-rw-r--r--calendar/gui/dialogs/task-editor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/task-editor.c b/calendar/gui/dialogs/task-editor.c
index 63c94dd23a..1733cf3a96 100644
--- a/calendar/gui/dialogs/task-editor.c
+++ b/calendar/gui/dialogs/task-editor.c
@@ -308,6 +308,7 @@ task_editor_init (TaskEditor *te)
GtkUIManager *ui_manager;
GtkActionGroup *action_group;
GtkWidget *content_area;
+ GtkAction *action;
const gchar *id;
GError *error = NULL;
@@ -363,6 +364,9 @@ task_editor_init (TaskEditor *te)
g_error_free (error);
}
+ action = comp_editor_get_action (editor, "print");
+ gtk_action_set_tooltip (action, _("Print this task"));
+
g_signal_connect_swapped (
te->priv->model, "row_changed",
G_CALLBACK (task_editor_model_changed_cb), te);