2007-06-26 Murray Cumming <murrayc@murrayc.com>
authorMurray Cumming <murrayc@murrayc.com>
Tue, 26 Jun 2007 12:31:38 +0000 (12:31 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Tue, 26 Jun 2007 12:31:38 +0000 (12:31 +0000)
commitbd3b903e87f25c3b9b86c596d99100030f5c9bee
tree2dfab52db72824bd19b4cbaa4857d5bda948717a
parent512a8348fc327f7c23cc4e10813725897c7f58ce
2007-06-26  Murray Cumming  <murrayc@murrayc.com>

* src/dbus_api/modest-dbus-callbacks.c: (on_idle_mail_to),
(on_idle_compose_mail), (on_compose_mail), (on_idle_open_message),
(on_idle_send_receive), (on_idle_open_default_inbox):
* src/maemo/modest-msg-edit-window.c:
(modest_msg_edit_window_attach_file_noninteractive):
Use gdk_threads_enter() and gdk_threads_leave() in all the idle handlers,
to prevent a hang. I don't quite understand why these are necessary,
beause we should already be in the main loop. I guess something outside
of the main loop is taking the lock.

* tests/dbus_api/test_compose_mail.c: (main): Use file:// prefixes so
we are really using URIs, and use files that are more likely to exist.

pmo-trunk-r2427
ChangeLog2
src/dbus_api/modest-dbus-callbacks.c
src/maemo/modest-msg-edit-window.c
tests/dbus_api/test_compose_mail.c