Fixes NB#78602
authorFelipe Erias Morandeira <femorandeira@igalia.com>
Fri, 14 Dec 2007 12:05:20 +0000 (12:05 +0000)
committerFelipe Erias Morandeira <femorandeira@igalia.com>
Fri, 14 Dec 2007 12:05:20 +0000 (12:05 +0000)
commitf19d5b6e2df7fb9cea5db37287802d1245a7b796
treefd03d1a9ac48f07d5a650de5019b4e246f93032d
parent01583e1fe0d3f591eef4b65573eb7b720e72edf8
Fixes NB#78602
   * modest-mail-operation-queue.[hc]:
      (modest_mail_operation_queue_get_by_source): returns the mail operations
         in the queue associated with a given source
   * widgets/modest-window-mgr.c:
      (modest_window_mgr_unregister_window): if the window that is being
         closed is a ModestMsgViewWindow, it cancels "open" and "receive"
         operations that have it as their source
   * maemo/modest-main-window.c:
      (on_mail_operation_started): only goes to transfer mode if it is the
         source of the operation whose start has been notified
   * maemo/modest-msg-view-window.c:
      (on_mail_operation_started): only goes to transfer mode if it is the
         source of the operation whose start has been notified
      (view_msg_cb): added checks for cancelled operations and empty fields

pmo-trunk-r3917
src/maemo/modest-main-window.c
src/maemo/modest-msg-view-window.c
src/modest-mail-operation-queue.c
src/modest-mail-operation-queue.h
src/widgets/modest-window-mgr.c