aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/memo-editor.c
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/gui/dialogs/memo-editor.c
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/gui/dialogs/memo-editor.c')
-rw-r--r--calendar/gui/dialogs/memo-editor.c4
1 files changed, 4 insertions, 0 deletions
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"));
}
/**