aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-05-24 22:18:26 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-05-24 22:19:48 +0800
commit852581b2ef6ccee1967695bc85d6601ff8a7a1f3 (patch)
tree70c3d7de919ceaf0b562530b30f07ce680914bcb /calendar
parentd9d4e4c4196cb51253dfea993bf61e0edc8afef7 (diff)
downloadgsoc2013-evolution-852581b2ef6ccee1967695bc85d6601ff8a7a1f3.tar
gsoc2013-evolution-852581b2ef6ccee1967695bc85d6601ff8a7a1f3.tar.gz
gsoc2013-evolution-852581b2ef6ccee1967695bc85d6601ff8a7a1f3.tar.bz2
gsoc2013-evolution-852581b2ef6ccee1967695bc85d6601ff8a7a1f3.tar.lz
gsoc2013-evolution-852581b2ef6ccee1967695bc85d6601ff8a7a1f3.tar.xz
gsoc2013-evolution-852581b2ef6ccee1967695bc85d6601ff8a7a1f3.tar.zst
gsoc2013-evolution-852581b2ef6ccee1967695bc85d6601ff8a7a1f3.zip
Add tooltips for print button on CompEditor toolbar.
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/dialogs/event-editor.c3
-rw-r--r--calendar/gui/dialogs/memo-editor.c4
-rw-r--r--calendar/gui/dialogs/task-editor.c4
3 files changed, 11 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c
index 70fee85064..90fc910708 100644
--- a/calendar/gui/dialogs/event-editor.c
+++ b/calendar/gui/dialogs/event-editor.c
@@ -524,6 +524,9 @@ event_editor_init (EventEditor *ee)
g_error_free (error);
}
+ action = comp_editor_get_action (editor, "print");
+ gtk_action_set_tooltip (action, _("Print this event"));
+
/* Hide send options. */
action = comp_editor_get_action (editor, "send-options");
gtk_action_set_visible (action, FALSE);
diff --git a/calendar/gui/dialogs/memo-editor.c b/calendar/gui/dialogs/memo-editor.c
index 8e988c00a5..9486ef6770 100644
--- a/calendar/gui/dialogs/memo-editor.c
+++ b/calendar/gui/dialogs/memo-editor.c
@@ -133,6 +133,7 @@ memo_editor_init (MemoEditor *me)
{
CompEditor *editor = COMP_EDITOR (me);
GtkUIManager *ui_manager;
+ GtkAction *action;
const gchar *id;
GError *error = NULL;
@@ -150,6 +151,9 @@ memo_editor_init (MemoEditor *me)
g_critical ("%s: %s", G_STRFUNC, error->message);
g_error_free (error);
}
+
+ action = comp_editor_get_action (editor, "print");
+ gtk_action_set_tooltip (action, _("Print this memo"));
}
/**
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);