From ffabf8684a4031d89582afec5a71ae47ad24f5b8 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 1 Apr 2003 17:26:15 +0000 Subject: Call composer_check_autosave if we're going interactive, to check for 2003-04-02 Not Zed * 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 --- mail/component-factory.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mail/component-factory.c') 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 -- cgit v1.2.3