diff options
author | Milan Crha <mcrha@src.gnome.org> | 2007-08-16 15:08:08 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2007-08-16 15:08:08 +0800 |
commit | 73f27c89bc2085970de8ee2ec7e3366968d75065 (patch) | |
tree | 99657ce5040146a826cb45c68b4b4117dc2d3565 /mail | |
parent | bc8218c79d949949988238961516d69b75cbec3b (diff) | |
download | gsoc2013-evolution-73f27c89bc2085970de8ee2ec7e3366968d75065.tar gsoc2013-evolution-73f27c89bc2085970de8ee2ec7e3366968d75065.tar.gz gsoc2013-evolution-73f27c89bc2085970de8ee2ec7e3366968d75065.tar.bz2 gsoc2013-evolution-73f27c89bc2085970de8ee2ec7e3366968d75065.tar.lz gsoc2013-evolution-73f27c89bc2085970de8ee2ec7e3366968d75065.tar.xz gsoc2013-evolution-73f27c89bc2085970de8ee2ec7e3366968d75065.tar.zst gsoc2013-evolution-73f27c89bc2085970de8ee2ec7e3366968d75065.zip |
2007-08-16 mcrha Fix for bug #466548
svn path=/trunk/; revision=34010
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/em-composer-utils.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 44dd91a430..6c47451d97 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2007-08-16 Milan Crha <mcrha@redhat.com> + + ** Fix for bug #466548 + + * em-composer-utils.c: (em_utils_composer_send_cb): + e_msg_composer_get_preferred_account can return NULL, so test for it. + 2007-08-13 Milan Crha <mcrha@redhat.com> ** Fix for bug #352346 diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c index 5a6d9dbd8f..dc7c8c541a 100644 --- a/mail/em-composer-utils.c +++ b/mail/em-composer-utils.c @@ -414,7 +414,7 @@ em_utils_composer_send_cb (EMsgComposer *composer, gpointer user_data) EAccount *account; account = e_msg_composer_get_preferred_account (composer); - if (!account->enabled) { + if (!account || !account->enabled) { e_error_run((GtkWindow *)composer, "mail:send-no-account-enabled", NULL); return; } |