X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmaemo%2Fmodest-main-window.c;h=cdebd41c04f60bf8119c7e0bacd8efc1b2a1e925;hb=ce6ffa222c658f6055cc0250bf0927ccfbbd4a9e;hp=a57c2677ec32bd8648c0f4c8b5c32edb7526c287;hpb=2614a57e5c86b6f97135b1d8eed6ec8ea7f73791;p=modest diff --git a/src/maemo/modest-main-window.c b/src/maemo/modest-main-window.c index a57c267..cdebd41 100644 --- a/src/maemo/modest-main-window.c +++ b/src/maemo/modest-main-window.c @@ -468,8 +468,11 @@ modest_main_window_new (void) tny_account_store_view_set_account_store (TNY_ACCOUNT_STORE_VIEW (priv->folder_view), TNY_ACCOUNT_STORE (modest_runtime_get_account_store ())); g_idle_add ((GSourceFunc)sync_accounts_cb, self); - /* do send & receive when we are idle */ - + /* do send & receive when we are idle */ + + g_message ("online? %s", + tny_device_is_online (modest_runtime_get_device()) ? "yes" : "no"); + return MODEST_WINDOW(self); }