diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-05-12 00:44:44 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-05-12 00:44:44 +0800 |
commit | 943c07d50a733f7f0303b739f82d774f538cd92f (patch) | |
tree | f050951217cfd7da66f13bc9698e05f865808dbc /mail | |
parent | dadbbd6f8f1d12e6d5fc290e46885cb6b09120b8 (diff) | |
download | gsoc2013-evolution-943c07d50a733f7f0303b739f82d774f538cd92f.tar gsoc2013-evolution-943c07d50a733f7f0303b739f82d774f538cd92f.tar.gz gsoc2013-evolution-943c07d50a733f7f0303b739f82d774f538cd92f.tar.bz2 gsoc2013-evolution-943c07d50a733f7f0303b739f82d774f538cd92f.tar.lz gsoc2013-evolution-943c07d50a733f7f0303b739f82d774f538cd92f.tar.xz gsoc2013-evolution-943c07d50a733f7f0303b739f82d774f538cd92f.tar.zst gsoc2013-evolution-943c07d50a733f7f0303b739f82d774f538cd92f.zip |
If the cursor_uid is NULL, then we can't forward anything so just return.
2001-05-11 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (forward_inlined): If the cursor_uid is NULL,
then we can't forward anything so just return.
(forward_quoted): Same.
svn path=/trunk/; revision=9759
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-callbacks.c | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 28380155e2..e606d0d0e5 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2001-05-11 Jeffrey Stedfast <fejj@ximian.com> + + * mail-callbacks.c (forward_inlined): If the cursor_uid is NULL, + then we can't forward anything so just return. + (forward_quoted): Same. + 2001-05-10 Jon Trowbridge <trow@ximian.com> * folder-browser.c (folder_browser_config_search): Use the diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 0f60037da5..377cea95d0 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -818,6 +818,9 @@ forward_inlined (GtkWidget *widget, gpointer user_data) FolderBrowser *fb = FOLDER_BROWSER (user_data); GPtrArray *uids; + if (!fb->message_list->cursor_uid) + return; + if (!check_send_configuration (fb)) return; @@ -834,6 +837,9 @@ forward_quoted (GtkWidget *widget, gpointer user_data) FolderBrowser *fb = FOLDER_BROWSER (user_data); GPtrArray *uids; + if (!fb->message_list->cursor_uid) + return; + if (!check_send_configuration (fb)) return; |