aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
authorMichael Meeks <michael@helixcode.com>2000-08-04 10:00:02 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2000-08-04 10:00:02 +0800
commit8ec2a002e8f98c11836ca0fd0924d84a65018908 (patch)
tree4ade1439eaddeaa88b25c3e97899ae84f3853fec /mail/mail-config.c
parent6d6b9ec70ea0e6f16935ffbae676909c5a09f06c (diff)
downloadgsoc2013-evolution-8ec2a002e8f98c11836ca0fd0924d84a65018908.tar
gsoc2013-evolution-8ec2a002e8f98c11836ca0fd0924d84a65018908.tar.gz
gsoc2013-evolution-8ec2a002e8f98c11836ca0fd0924d84a65018908.tar.bz2
gsoc2013-evolution-8ec2a002e8f98c11836ca0fd0924d84a65018908.tar.lz
gsoc2013-evolution-8ec2a002e8f98c11836ca0fd0924d84a65018908.tar.xz
gsoc2013-evolution-8ec2a002e8f98c11836ca0fd0924d84a65018908.tar.zst
gsoc2013-evolution-8ec2a002e8f98c11836ca0fd0924d84a65018908.zip
only whack the sig in if the file exists.
2000-08-03 Michael Meeks <michael@helixcode.com> * mail-config.c (identity_page_new): only whack the sig in if the file exists. * component-factory.c (factory_fn): count running instances, attach destroy signal (factory_destroy): add. * main.c (main): pass orb around. svn path=/trunk/; revision=4523
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index bcc3327460..9fcfbd20ec 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -782,7 +782,8 @@ identity_page_new (const MailConfigIdentity *id)
default_sig = g_strconcat (g_get_home_dir (),
G_DIR_SEPARATOR_S,
".signature", NULL);
- gtk_entry_set_text (GTK_ENTRY (page->sig), default_sig);
+ if (g_file_exists (default_sig))
+ gtk_entry_set_text (GTK_ENTRY (page->sig), default_sig);
g_free (default_sig);
}