* Reverted some changes committed by mistake
authorSergio Villar Senin <svillar@igalia.com>
Tue, 5 Aug 2008 16:47:51 +0000 (16:47 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Tue, 5 Aug 2008 16:47:51 +0000 (16:47 +0000)
pmo-diablo-r5265

src/maemo/modest-platform.c
src/modest-ui-actions.c

index a3fe625..27990e9 100644 (file)
@@ -1974,12 +1974,7 @@ on_account_went_online (TnyCamelAccount *account, gboolean canceled, GError *err
        /* Now it's really time to callback to the caller. If going online didn't succeed,
         * err will be set. We don't free it, Tinymail does that! If a cancel happened,
         * canceled will be set. Etcetera etcetera. */
-
-       if (tny_account_get_connection_status (TNY_ACCOUNT (account)) == TNY_CONNECTION_STATUS_CONNECTED)
-               g_debug ("------------ %s %s CONECTADA", __FUNCTION__, tny_account_get_name (TNY_ACCOUNT (account)));
-       else
-               g_debug ("------------ %s %s NO conectada", __FUNCTION__, tny_account_get_name (TNY_ACCOUNT (account)));
-       
+       
        if (info->callback) {
                info->callback (canceled, err, info->parent_window, info->account, info->user_data);
        }
index e3be664..e01d8e8 100644 (file)
@@ -497,10 +497,7 @@ modest_ui_actions_on_delete_message (GtkAction *action, ModestWindow *win)
                modest_window_disable_dimming (MODEST_WINDOW(win));
 
                /* Remove each header. If it's a view window header_view == NULL */
-               mail_op = modest_mail_operation_new_with_error_handling ((GObject *) win,
-                                       modest_ui_actions_disk_operations_error_handler, 
-                                       g_strdup (_("mail_ib_file_operation_failed")),
-                                       g_free);
+               mail_op = modest_mail_operation_new ((GObject *) win);
                modest_mail_operation_queue_add (modest_runtime_get_mail_operation_queue (),
                                                 mail_op);
                modest_mail_operation_remove_msgs (mail_op, header_list, FALSE);