2007-07-11 Murray Cumming <murrayc@murrayc-desktop>
authorMurray Cumming <murrayc@murrayc.com>
Wed, 11 Jul 2007 15:22:41 +0000 (15:22 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Wed, 11 Jul 2007 15:22:41 +0000 (15:22 +0000)
commita2a1b5efeba8de666acb7fbc17ae2b2fa4b3891a
treed900ee653397d622691051dd1a688f593653bd04
parent4cb357bdaeb4b1ff71af6a6afee624660761a51d
2007-07-11  Murray Cumming  <murrayc@murrayc-desktop>

* src/modest-ui-actions.h:
* src/modest-ui-actions.c:
(modest_ui_actions_on_delete_message):
Move some code into a new
modest_ui_actions_refresh_message_window_after_delete()
function so we can use it from elsewhere.

* src/dbus_api/modest-dbus-callbacks.c:
(on_idle_delete_message), (on_delete_message): Used an idle
handler, as we do for the other D-Bus method handlers.
Call modest_ui_actions_refresh_message_window_after_delete()
if the deleted message was open in a window. This fixed
projects.maemo.org bug NB#62862.

pmo-trunk-r2707
ChangeLog2
src/dbus_api/modest-dbus-callbacks.c
src/modest-ui-actions.c
src/modest-ui-actions.h