Fix progress bar in the view message window:
authorFelipe Erias Morandeira <femorandeira@igalia.com>
Thu, 22 Nov 2007 13:45:28 +0000 (13:45 +0000)
committerFelipe Erias Morandeira <femorandeira@igalia.com>
Thu, 22 Nov 2007 13:45:28 +0000 (13:45 +0000)
commit58397c38794884e7faf94ee04074ab3467faa357
treee80bd217b07c4c8b3dd43f448ee9ac6c7a5a13bc
parent5b97a1d678872610bc42a9ff0d177b000d322f9c
Fix progress bar in the view message window:
   * A field sighandlers was added to ModestViewMsgWindow, to keep reference of the signal handlers using ModestSignalMgr.
   * The ModestViewMsgWindow is connected to the "queue-changed" signal from the operations queue. When an operation arrives, it attaches callbacks to its "operation-started" and "operation-finished" signals, and when it is removed the callbacks are disconnected.
   * Basically, the callback on_mail_operation_started() puts the toolbar in transfer mode, and on_mail_operation_finished() puts it back in normal mode if there aren't operations left.

pmo-trunk-r3795
src/maemo/modest-msg-view-window.c