diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-05-24 22:18:26 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-05-24 22:19:48 +0800 |
commit | 852581b2ef6ccee1967695bc85d6601ff8a7a1f3 (patch) | |
tree | 70c3d7de919ceaf0b562530b30f07ce680914bcb /calendar/gui/dialogs/task-editor.c | |
parent | d9d4e4c4196cb51253dfea993bf61e0edc8afef7 (diff) | |
download | gsoc2013-evolution-852581b2ef6ccee1967695bc85d6601ff8a7a1f3.tar.gz gsoc2013-evolution-852581b2ef6ccee1967695bc85d6601ff8a7a1f3.tar.zst gsoc2013-evolution-852581b2ef6ccee1967695bc85d6601ff8a7a1f3.zip |
Add tooltips for print button on CompEditor toolbar.
Diffstat (limited to 'calendar/gui/dialogs/task-editor.c')
-rw-r--r-- | calendar/gui/dialogs/task-editor.c | 4 |
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); |