Do add contacts automatically to addressbook.
authorSergio Villar Senin <svillar@igalia.com>
Wed, 11 Nov 2009 15:40:42 +0000 (16:40 +0100)
committerSergio Villar Senin <svillar@igalia.com>
Wed, 11 Nov 2009 15:40:42 +0000 (16:40 +0100)
This will be changed in the future with an option in the menu

src/modest-ui-actions.c

index 7ed4609..8e5f450 100644 (file)
@@ -3161,8 +3161,7 @@ modest_ui_actions_on_send (GtkWidget *widget, ModestMsgEditWindow *edit_window)
 
        g_return_val_if_fail (MODEST_IS_MSG_EDIT_WINDOW(edit_window), TRUE);
 
 
        g_return_val_if_fail (MODEST_IS_MSG_EDIT_WINDOW(edit_window), TRUE);
 
-       /* Check names but do not automatically add them to addressbook */
-       if (!modest_msg_edit_window_check_names (edit_window, FALSE))
+       if (!modest_msg_edit_window_check_names (edit_window, TRUE))
                return TRUE;
 
        data = modest_msg_edit_window_get_msg_data (edit_window);
                return TRUE;
 
        data = modest_msg_edit_window_get_msg_data (edit_window);