gtk_widget_show_all (main_vbox);
/* should we hide the toolbar? */
- //if (!modest_conf_get_bool (modest_runtime_get_conf (), MODEST_CONF_SHOW_TOOLBAR, NULL))
- // gtk_widget_hide (parent_priv->toolbar);
+ if (!modest_conf_get_bool (modest_runtime_get_conf (), MODEST_CONF_SHOW_TOOLBAR, NULL))
+ gtk_widget_hide (parent_priv->toolbar);
/* Connect signals */
connect_signals (self);
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);
}