aboutsummaryrefslogtreecommitdiffstats
path: root/mail
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
parent120687c8a8b3b7df579f2dcad8badefb67e4d30b (diff)
downloadgsoc2013-evolution-fc661fb23aee42e87370886a17ed9373388d7493.tar
gsoc2013-evolution-fc661fb23aee42e87370886a17ed9373388d7493.tar.gz
gsoc2013-evolution-fc661fb23aee42e87370886a17ed9373388d7493.tar.bz2
gsoc2013-evolution-fc661fb23aee42e87370886a17ed9373388d7493.tar.lz
gsoc2013-evolution-fc661fb23aee42e87370886a17ed9373388d7493.tar.xz
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')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-config.c10
2 files changed, 14 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 856d75798c..70847b04a1 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-25 Michael Meeks <michael@helixcode.com>
+
+ * mail-config.c (create_identity_page): set default signature to
+ ~/.signature
+
2000-07-25 Peter Williams <peterw@helixcode.com>
* mail-ops.c (reply): Check for the case of fb->mail_display->
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)));