aboutsummaryrefslogtreecommitdiffstats
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
parent690538a5bc9cb25f46284b5fa61f092e08d9d480 (diff)
downloadgsoc2013-evolution-7a069d4e58343122fad8dbe7d0474595a7e91fd1.tar
gsoc2013-evolution-7a069d4e58343122fad8dbe7d0474595a7e91fd1.tar.gz
gsoc2013-evolution-7a069d4e58343122fad8dbe7d0474595a7e91fd1.tar.bz2
gsoc2013-evolution-7a069d4e58343122fad8dbe7d0474595a7e91fd1.tar.lz
gsoc2013-evolution-7a069d4e58343122fad8dbe7d0474595a7e91fd1.tar.xz
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
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/mail-callbacks.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 7e2c21aa94..b46a9a8f01 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,7 @@
+2002-07-17 Radek Doulik <rodo@ximian.com>
+
+ * mail-callbacks.c (save_draft_done): use "saved" gtkhtml command
+
2002-07-17 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c (add_storage): Oops, Don't comment out the
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) {