diff options
author | Dan Winship <danw@src.gnome.org> | 2001-09-27 03:28:14 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-09-27 03:28:14 +0800 |
commit | 3bf97142fa10290a91deeae010aa08a95b0661d3 (patch) | |
tree | 9ff7f1072c079579e1b7e505be33bcc610b07833 /mail/component-factory.c | |
parent | cca7709e68452fe2eef30f8f068badebea44dfe1 (diff) | |
download | gsoc2013-evolution-3bf97142fa10290a91deeae010aa08a95b0661d3.tar.gz gsoc2013-evolution-3bf97142fa10290a91deeae010aa08a95b0661d3.tar.zst gsoc2013-evolution-3bf97142fa10290a91deeae010aa08a95b0661d3.zip |
Add a big comment explaining unread message counts so no one can mess them
* mail-folder-cache.c: Add a big comment explaining unread message
counts so no one can mess them up again in the future. :-)
(update_1folder): If info->unread_message_count is -1, don't do
anything.
* component-factory.c (component_factory_init): warn and exit if
oaf_active_server_register returns OAF_REG_ALREADY_ACTIVE.
svn path=/trunk/; revision=13155
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r-- | mail/component-factory.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c index 5019702e3a..4696351613 100644 --- a/mail/component-factory.c +++ b/mail/component-factory.c @@ -844,6 +844,9 @@ component_factory_init (void) e_notice (NULL, GNOME_MESSAGE_BOX_ERROR, _("Cannot initialize Evolution's mail component.")); exit (1); + } else if (result == OAF_REG_ALREADY_ACTIVE) { + g_warning ("evolution-mail is already running"); + exit (1); } /* FIXME these don't check for errors. */ |