X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-ui-actions.c;h=554ee4c2884513d89879a828238289b95540cb2d;hp=61b68e30affefb1375dc259624cceb45e3112587;hb=5fe84384c617285abe0e5f2f08e4be08ae4d339b;hpb=a2e8dc72d76c5f8b3648e0c54d52f362a5dcefc7 diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index 61b68e3..554ee4c 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -889,7 +889,7 @@ _modest_ui_actions_open (TnyList *headers, ModestWindow *win) * than later in a thread: */ if (tny_list_get_length (not_opened_cached_headers) > 0) { - gboolean connected = modest_platform_connect_and_wait (GTK_WINDOW (win)); + gboolean connected = modest_platform_connect_and_wait (GTK_WINDOW (win), NULL); /* Don't go further if a connection would be necessary but none is available: */ if (!connected) { @@ -1158,7 +1158,7 @@ download_uncached_messages (TnyList *header_list, GtkWindow *win, retval = FALSE; else { /* If a download will be necessary, make sure that we have a connection: */ - retval = modest_platform_connect_and_wait(win); + retval = modest_platform_connect_and_wait(win, NULL); } } return retval; @@ -1926,7 +1926,7 @@ modest_ui_actions_on_send (GtkWidget *widget, ModestMsgEditWindow *edit_window) return; /* Offer the connection dialog, if necessary: */ - if (!modest_platform_connect_and_wait (GTK_WINDOW (edit_window))) + if (!modest_platform_connect_and_wait (GTK_WINDOW (edit_window), NULL)) return; /* FIXME: Code added just for testing. The final version will