aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-04-02 01:26:15 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-04-02 01:26:15 +0800
commitffabf8684a4031d89582afec5a71ae47ad24f5b8 (patch)
tree4a1bf7902b55ce7e4503cdc5410303a1f0af9e79
parente20f64823db5ccad8892121c22a7ee11fa75bbe9 (diff)
downloadgsoc2013-evolution-ffabf8684a4031d89582afec5a71ae47ad24f5b8.tar
gsoc2013-evolution-ffabf8684a4031d89582afec5a71ae47ad24f5b8.tar.gz
gsoc2013-evolution-ffabf8684a4031d89582afec5a71ae47ad24f5b8.tar.bz2
gsoc2013-evolution-ffabf8684a4031d89582afec5a71ae47ad24f5b8.tar.lz
gsoc2013-evolution-ffabf8684a4031d89582afec5a71ae47ad24f5b8.tar.xz
gsoc2013-evolution-ffabf8684a4031d89582afec5a71ae47ad24f5b8.tar.zst
gsoc2013-evolution-ffabf8684a4031d89582afec5a71ae47ad24f5b8.zip
Call composer_check_autosave if we're going interactive, to check for
2003-04-02 Not Zed <NotZed@Ximian.com> * component-factory.c (interactive_cb): Call composer_check_autosave if we're going interactive, to check for unsaved files. Fixes #40300. svn path=/trunk/; revision=20617
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/component-factory.c4
2 files changed, 10 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index b6638c3e51..e526ce6f01 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2003-04-02 Not Zed <NotZed@Ximian.com>
+
+ * component-factory.c (interactive_cb): Call
+ composer_check_autosave if we're going interactive, to check for
+ unsaved files. Fixes #40300.
+
2003-04-01 Not Zed <NotZed@Ximian.com>
* mail-display.c (mail_display_redisplay): if we're called and the
diff --git a/mail/component-factory.c b/mail/component-factory.c
index e7e25493c0..66586893b6 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -849,6 +849,10 @@ interactive_cb (EvolutionShellComponent *shell_component, gboolean on,
gulong new_view_xid, gpointer user_data)
{
mail_session_set_interactive (on);
+
+ if (on)
+ /* how do we get the parent window? */
+ e_msg_composer_check_autosave(NULL);
}
static void