aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-signature-editor.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2002-06-08 03:54:47 +0800
committerRadek Doulik <rodo@src.gnome.org>2002-06-08 03:54:47 +0800
commit31f6fe3aafb5e4a41980216543d9f5db707a053f (patch)
tree0f8ba9ae3deb682379fe7323f62de6bceb0fb5aa /mail/mail-signature-editor.c
parentf2db905c7b375202e631278d92882cd3bbe16c25 (diff)
downloadgsoc2013-evolution-31f6fe3aafb5e4a41980216543d9f5db707a053f.tar
gsoc2013-evolution-31f6fe3aafb5e4a41980216543d9f5db707a053f.tar.gz
gsoc2013-evolution-31f6fe3aafb5e4a41980216543d9f5db707a053f.tar.bz2
gsoc2013-evolution-31f6fe3aafb5e4a41980216543d9f5db707a053f.tar.lz
gsoc2013-evolution-31f6fe3aafb5e4a41980216543d9f5db707a053f.tar.xz
gsoc2013-evolution-31f6fe3aafb5e4a41980216543d9f5db707a053f.tar.zst
gsoc2013-evolution-31f6fe3aafb5e4a41980216543d9f5db707a053f.zip
fix some typos, set label usize to 500, -2 (menu_help): added help link to
2002-06-07 Radek Doulik <rodo@ximian.com> * mail-signature-editor.c (mail_signature_editor): fix some typos, set label usize to 500, -2 (menu_help): added help link to Help menu svn path=/trunk/; revision=17148
Diffstat (limited to 'mail/mail-signature-editor.c')
-rw-r--r--mail/mail-signature-editor.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/mail/mail-signature-editor.c b/mail/mail-signature-editor.c
index d0a21630d2..1e83b678a8 100644
--- a/mail/mail-signature-editor.c
+++ b/mail/mail-signature-editor.c
@@ -219,11 +219,22 @@ menu_file_save_close_cb (BonoboUIComponent *uic, gpointer data, const gchar *pat
destroy_editor (editor);
}
+static void
+menu_help (BonoboUIComponent *uih, void *data, const char *path)
+{
+ GnomeHelpMenuEntry he;
+
+ he.name = PACKAGE;
+ he.path = "usage-mail-getnsend-send.html#HTML-SIGNATURE-HOWTO";
+ gnome_help_display (NULL, &he);
+}
+
static BonoboUIVerb verbs [] = {
BONOBO_UI_VERB ("FileSave", menu_file_save_cb),
BONOBO_UI_VERB ("FileClose", menu_file_close_cb),
BONOBO_UI_VERB ("FileSaveClose", menu_file_save_close_cb),
+ BONOBO_UI_VERB ("HelpSigEditor", menu_help),
BONOBO_UI_VERB_END
};
@@ -393,15 +404,16 @@ mail_signature_editor (MailConfigSignature *sig)
gtk_box_pack_start (GTK_BOX (hbox), pixmap, FALSE, TRUE, 0);
vbox1 = gtk_vbox_new (FALSE, 3);
- label = gtk_label_new (_("If you would like to use old signature, "
+ label = gtk_label_new (_("If you would like to use an old signature, "
"you may import it by opening the \"Insert\" "
"menu, and select either the \"Text file\" "
"or the \"HTML file\" item."));
+ gtk_widget_set_usize (label, 500, -2);
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
gtk_misc_set_alignment (GTK_MISC (label), 0, 0);
gtk_box_pack_start (GTK_BOX (vbox1), label, FALSE, TRUE, 0);
gtk_box_pack_start_defaults (GTK_BOX (hbox), vbox1);
- check = gtk_check_button_new_with_label (_("Hide signature hints"));
+ check = gtk_check_button_new_with_label (_("Hide signature hint"));
gtk_signal_connect (GTK_OBJECT (check), "toggled", check_hide_info_toggled, editor);
gtk_box_pack_end (GTK_BOX (vbox1), check, FALSE, TRUE, 3);