aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2002-07-18 02:15:52 +0800
committerRadek Doulik <rodo@src.gnome.org>2002-07-18 02:15:52 +0800
commit7a069d4e58343122fad8dbe7d0474595a7e91fd1 (patch)
tree80b7e4f844ee5a195ea329929b73359ff326bce4 /mail/mail-callbacks.c
parent690538a5bc9cb25f46284b5fa61f092e08d9d480 (diff)
downloadgsoc2013-evolution-7a069d4e58343122fad8dbe7d0474595a7e91fd1.tar.gz
gsoc2013-evolution-7a069d4e58343122fad8dbe7d0474595a7e91fd1.tar.zst
gsoc2013-evolution-7a069d4e58343122fad8dbe7d0474595a7e91fd1.zip
use "saved" gtkhtml command
2002-07-17 Radek Doulik <rodo@ximian.com> * mail-callbacks.c (save_draft_done): use "saved" gtkhtml command svn path=/trunk/; revision=17494
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index dd7e5ecfa5..dfd071863b 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -529,11 +529,15 @@ static void
save_draft_done (CamelFolder *folder, CamelMimeMessage *msg, CamelMessageInfo *info, int ok,
const char *appended_uid, void *data)
{
+ CORBA_Environment ev;
struct _save_draft_info *sdi = data;
char *old_uid;
if (!ok)
goto done;
+ CORBA_exception_init (&ev);
+ GNOME_GtkHTML_Editor_Engine_runCommand (sdi->composer->editor_engine, "saved", &ev);
+ CORBA_exception_free (&ev);
old_uid = gtk_object_get_data (GTK_OBJECT (sdi->composer), "draft_uid");
if (old_uid) {