aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
authorMichael Meeks <michael@helixcode.com>2000-07-26 05:14:58 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2000-07-26 05:14:58 +0800
commitfc661fb23aee42e87370886a17ed9373388d7493 (patch)
tree87c42613e351c740c2240d03d703d98427d76d2f /mail/mail-config.c
parent120687c8a8b3b7df579f2dcad8badefb67e4d30b (diff)
downloadgsoc2013-evolution-fc661fb23aee42e87370886a17ed9373388d7493.tar.gz
gsoc2013-evolution-fc661fb23aee42e87370886a17ed9373388d7493.tar.zst
gsoc2013-evolution-fc661fb23aee42e87370886a17ed9373388d7493.zip
add textual exception printout. (set_editor_text): close pre tags & check
2000-07-25 Michael Meeks <michael@helixcode.com> * e-msg-composer.c (get_text): add textual exception printout. (set_editor_text): close pre tags & check for pre-existing sig separator. 2000-07-25 Michael Meeks <michael@helixcode.com> * mail-config.c (create_identity_page): set default signature to ~/.signature 2000-07-25 Michael Meeks <michael@helixcode.com> * backend/ebook/load-pine-addressbook.c (book_open_cb): check we opened ok. svn path=/trunk/; revision=4330
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index ce5c1a8501..ab11e1cf5f 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -254,7 +254,7 @@ create_identity_page (GtkWidget *vbox, struct identity_record *idrec)
GtkWidget *name, *addr, *org, *sig;
GtkWidget *name_entry, *addr_entry, *org_entry, *sig_entry;
GtkWidget *hsep;
- char *user;
+ char *user, *default_sig;
struct passwd *pw = NULL;
html = html_new (FALSE);
@@ -349,6 +349,14 @@ create_identity_page (GtkWidget *vbox, struct identity_record *idrec)
GTK_FILL, 0, 0, 0);
gnome_file_entry_set_default_path (GNOME_FILE_ENTRY (sig_entry),
g_get_home_dir ());
+
+ default_sig = g_strconcat (g_get_home_dir (), G_DIR_SEPARATOR_S,
+ ".signature", NULL);
+ gtk_entry_set_text (GTK_ENTRY (
+ gnome_file_entry_gtk_entry (GNOME_FILE_ENTRY (sig_entry))),
+ default_sig);
+ g_free (default_sig);
+
gtk_object_set_data (GTK_OBJECT (vbox), "sig",
gnome_file_entry_gtk_entry (GNOME_FILE_ENTRY (sig_entry)));