EShellBackend: Respond to EShell::prepare-for-quit signals.

Listen for "prepare-for-quit" signals from the shell and inhibit
shutdown until all the activities we're tracking are finalized.

Also, add a couple supporting functions:

  gboolean  e_shell_backend_is_busy     (EShellBackend *shell_backend);
  void      e_shell_backend_cancel_all  (EShellBackend *shell_backend);

These will eventually replace mail_msg_active() and mail_cancel_all().
This commit is contained in:
Matthew Barnes
2010-10-13 15:37:12 -04:00
parent 3f529345a9
commit 3fbcc8ef80
5 changed files with 170 additions and 8 deletions

View File

@ -34,6 +34,11 @@ EShellBackend
@eshellbackend: the object which received the signal.
@arg1:
<!-- ##### ARG EShellBackend:busy ##### -->
<para>
</para>
<!-- ##### FUNCTION e_shell_backend_compare ##### -->
<para>