* small fix:
[modest] / src / maemo / modest-main-window.c
index 0be1368..cdebd41 100644 (file)
@@ -458,8 +458,8 @@ modest_main_window_new (void)
        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);
@@ -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);
 }