diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-01-08 08:48:54 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-01-08 08:48:54 +0800 |
commit | 1cca6b24335a9de963ced4b6127f4558ed19cf48 (patch) | |
tree | 0484e61f01c9c16cf6e87f5f0d9558ce424d09c3 /mail/main.c | |
parent | e96bfc58ca850606a7c787636bc6e787266e6598 (diff) | |
download | gsoc2013-evolution-1cca6b24335a9de963ced4b6127f4558ed19cf48.tar gsoc2013-evolution-1cca6b24335a9de963ced4b6127f4558ed19cf48.tar.gz gsoc2013-evolution-1cca6b24335a9de963ced4b6127f4558ed19cf48.tar.bz2 gsoc2013-evolution-1cca6b24335a9de963ced4b6127f4558ed19cf48.tar.lz gsoc2013-evolution-1cca6b24335a9de963ced4b6127f4558ed19cf48.tar.xz gsoc2013-evolution-1cca6b24335a9de963ced4b6127f4558ed19cf48.tar.zst gsoc2013-evolution-1cca6b24335a9de963ced4b6127f4558ed19cf48.zip |
Renamed. (mail_config_get_new_mail_notify_sound_file): Renamed.
2002-01-07 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.c (mail_config_set_new_mail_notify_sound_file): Renamed.
(mail_config_get_new_mail_notify_sound_file): Renamed.
* mail-accounts.c (notify_radio_toggled): Replace EXEC with
PLAY_SOUND.
(construct): renamed the exec_command stuff to play_sound.
* main.c (main): Init and shutdown gnome_sound.
* mail-ops.c (fetch_mail_fetch): Don't do any new-mail
notification here.
(filter_folder_filter): call camel_filter_driver_flush.
* mail-session.c (main_get_filter_driver): Set the filter-driver
exec_func here instead.
* mail-ops.c (mail_fetch_mail): Don't set the filter-driver
exec_func here.
svn path=/trunk/; revision=15263
Diffstat (limited to 'mail/main.c')
-rw-r--r-- | mail/main.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/main.c b/mail/main.c index 10497a145d..b3daea3f99 100644 --- a/mail/main.c +++ b/mail/main.c @@ -103,7 +103,7 @@ main (int argc, char *argv []) gnome_init_with_popt_table ("evolution-mail-component", VERSION, argc, argv, oaf_popt_options, 0, NULL); - + sigaction (SIGSEGV, NULL, &osa); if (osa.sa_handler != SIG_DFL) { sa.sa_flags = 0; @@ -144,6 +144,8 @@ main (int argc, char *argv []) mail_config_init (); mail_msg_init (); + gnome_sound_init ("localhost"); + component_factory_init (); evolution_composer_factory_init (composer_send_cb, composer_postpone_cb); @@ -163,6 +165,8 @@ main (int argc, char *argv []) mail_config_write_on_exit (); e_passwords_shutdown (); - + + gnome_sound_shutdown (); + return 0; } |