aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-05-18 02:52:47 +0800
committerDan Winship <danw@src.gnome.org>2001-05-18 02:52:47 +0800
commite435c042d08e5b3a46889bd7fafd1ef0f28bc734 (patch)
tree998b3dd19a97a1d5a46f5fef24c5e8d6b788eddc /mail
parent70c02ec888c655e87d675702495336188d67721e (diff)
downloadgsoc2013-evolution-e435c042d08e5b3a46889bd7fafd1ef0f28bc734.tar.gz
gsoc2013-evolution-e435c042d08e5b3a46889bd7fafd1ef0f28bc734.tar.zst
gsoc2013-evolution-e435c042d08e5b3a46889bd7fafd1ef0f28bc734.zip
mark Outbox messages as read.
* mail-callbacks.c (composer_postpone_cb): mark Outbox messages as read. svn path=/trunk/; revision=9873
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-callbacks.c6
2 files changed, 10 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index efda2ff2fe..dcc8de6fd0 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-17 Dan Winship <danw@ximian.com>
+
+ * mail-callbacks.c (composer_postpone_cb): mark Outbox messages as
+ read.
+
2001-05-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (mail_write_authenticity): New convenience
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index b62aa990f0..778dc5f043 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -373,14 +373,18 @@ composer_postpone_cb (EMsgComposer *composer, gpointer data)
{
extern CamelFolder *outbox_folder;
CamelMimeMessage *message;
+ CamelMessageInfo *info;
struct post_send_data *psd = data;
message = composer_get_message (composer);
if (message == NULL)
return;
+ info = camel_message_info_new ();
+ info->flags = CAMEL_MESSAGE_SEEN;
- mail_append_mail (outbox_folder, message, NULL, NULL, NULL);
+ mail_append_mail (outbox_folder, message, info, NULL, NULL);
camel_object_unref (CAMEL_OBJECT (message));
+ camel_message_info_free (info);
if (psd) {
camel_folder_set_message_flags (psd->folder, psd->uid, psd->flags, psd->flags);
pan class='deletions'>-2/+2 * ** Added a hook event after the shell is started.Srinivasa Ragavan2007-07-031-0/+8 * Revert the change from 2007-05-11. (#407104)Matthew Barnes2007-05-141-7/+13 * Create a shell window if the schema or an alias was found. Previously thisMatthew Barnes2007-05-121-13/+7 * Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-1/+2 * ** Fixes bug #419524Matthew Barnes2007-03-211-1/+1 * Fix memory leak of iid.Harish Krishnaswamy2006-12-041-0/+1 * Don't call bonobo_activation_active_server_unregister() here, it's tooTor Lillqvist2006-06-191-4/+5 * Remove unused code and fix format specifiers in some cases.Kjartan Maraas2006-01-301-12/+4 * Evolution-Component.idl Evolution-Shell.idl Remove duplicate definitionsParthasarathi Susarla2005-12-221-3/+3 * Evolution is now Network Aware, the day of complete awareness beckons, TheShreyas Srinivasan2005-12-221-9/+15 * committed these files to fix http://bugzilla.gnome.org/show_bug.cgi?id=260354Parthasarathi Susarla2005-12-211-3/+11 * Use libedataserver's e_xml_parse_file() instead of xmlParseFile()Tor Lillqvist2005-12-181-49/+47 * fix warning. (impl_Shell_findComponent): fix signature for warning.Not Zed2005-08-181-103/+84 * Merge back eplugin-import-branch.Michael Zucci2005-07-121-2/+0 * Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-171-1/+1 * BonoboObject wrapper for Evolution::Component interface. Abstract, doesn'tNot Zed2005-06-021-0/+25 * fix error file build/path changesNot Zed2005-05-161-1/+1 * don't build wizard related codeJP Rosevear2005-04-291-1/+0 * fix the qualifier bit assignments for the STATE target.Not Zed2005-03-181-1/+1 * bump version, requiresJP Rosevear2005-03-011-7/+11 * Make mailer depend on libedataserverui.Hans Petter Jansson2005-02-241-1/+2 * open a new window if we get a component id type urlJP Rosevear2005-01-101-4/+11 * set start_offline gconf key when ever offline state is changed.Sivaiah Nallaagatla2004-12-241-4/+9 * register event hook.Not Zed2004-10-251-1/+18 * Merged notzed-eplugin-2-branch to head.Michael Zucci2004-09-201-0/+2 * set online status for e_passwords see #62856 (work around)Sivaiah Nallagatla2004-09-141-0/+2 * ** See bug #62856 (workaround only)Not Zed2004-08-301-0/+6 * added last_version item.JP Rosevear2004-08-021-81/+177 * merged this into e_shell_create_window, all it was doing was adding aNot Zed2004-07-261-24/+9 * ** See bug #57367.Not Zed2004-06-241-13/+1 * ** See #58827.Not Zed2004-06-011-9/+18 * Implemented. Sends the "interactive" message when the first window isSarfraaz Ahmed2004-05-261-1/+35 * remove unused.Not Zed2004-05-211-1/+0 * add for translators.Not Zed2004-05-121-32/+52 * Don't save window state here.Dan Winship2004-05-011-1/+4 * Don't activate the components here. (e_shell_construct): Activate them allJeffrey Stedfast2004-04-101-13/+25 * make sure the component is activated before calling upgradeFromVersion.Chris Toshok2004-04-101-1/+4 * unref the component registryDan Winship2004-04-101-0/+5 * use BASE_VERSION to supply the major/minor version, and useChris Toshok2004-04-101-6/+11 * Change this a lot. Now each component will maintain its ownDan Winship2004-04-091-16/+0 * when we check the evolution dir exists, check the evolution dir exists,Not Zed2004-03-121-7/+7 * make this C89 compliantJP Rosevear2004-02-051-3/+3 * ** See bug #53683.Not Zed2004-02-041-27/+66 * attempt the upgrade before trying to startup the wizard.Not Zed2004-01-271-1/+75 * there is no splash screen any moreJP Rosevear2004-01-271-5/+1 * detect the version more completely with the new util routine (main): don'tJP Rosevear2004-01-141-9/+5 * make sure we actually upgrade between revisionsJP Rosevear2004-01-091-1/+1 * these just handle creating the ~/evolution dir and so are no longer neededJP Rosevear2003-12-301-3/+1 * Mark the settings dialog as transient for the main windowRoss Burton2003-12-231-0/+1 * Implement.Ettore Perazzoli2003-12-051-31/+19 * If component_id is the empty string, pass NULL for it toEttore Perazzoli2003-12-041-0/+3 * Pass a label for the status bar control for now.Ettore Perazzoli2003-12-021-23/+0 * New member offline_handler. (offline_procedure_started_cb): New.Ettore Perazzoli2003-12-011-19/+58 * Reimplemented using EComponentRegistry.Ettore Perazzoli2003-11-211-36/+10 * Destroy the tooltips instead of unreffing them.Ettore Perazzoli2003-11-191-0/+23 * New helper function. (idle_cb): Call it if we have a local shell. Also,Ettore Perazzoli2003-11-181-1/+74 * Do not #include "e-local-folder.h".Ettore Perazzoli2003-11-181-3/+8 * New.Ettore Perazzoli2003-11-141-0/+26 * New signal "component_changed". (class_init): Install. (switch_view):Ettore Perazzoli2003-11-131-10/+18 * Added a new "-c" command-line arg. (idle_cb): If the arg is specified,Ettore Perazzoli2003-11-111-39/+17 * New member "component_registry". (e_shell_construct): Don't callEttore Perazzoli2003-10-231-216/+23 * Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-221-1238/+151 * Ooops, revert changes: wrong branch.Ettore Perazzoli2003-07-241-2/+1 * Create a new EShellWindow and show it.Ettore Perazzoli2003-07-241-1/+2 * Protect against the component name having slashes in it.Ettore Perazzoli2003-05-161-0/+5 * release the interface if we got itJP Rosevear2003-05-151-0/+2 * Free the temporary string.Hans Petter Jansson2003-04-161-1/+4 * Desensitize the window's top-level container rather than desensitizing theDan Winship2003-04-081-0/+3 * [#39467]Not Zed2003-04-021-12/+7 * Update for e_notice move. Likewise Likewise Likewise Likewise LikewiseDan Winship2003-03-251-9/+2 * add a "new_view_xid" arg, so the component has a window id to make use ofDan Winship2003-03-251-11/+12 * If you can't get a pixbuf icon for the folder's type, do not crash.Ettore Perazzoli2003-03-201-21/+0 * ** reverted the following patch from ettore, this is a gnome 2.2 apiNot Zed2003-03-071-2/+2 * (impl_Shell_selectUserFolder): At least for now,Ettore Perazzoli2003-03-071-2/+4 * (impl_finalize): UseEttore Perazzoli2003-03-071-2/+2 * fix the conf keys, currently unused.Not Zed2003-02-241-1/+1