Changeset 70

Show
Ignore:
Timestamp:
01/13/08 12:22:14
Author:
pvanhoof
Message:

Fixes for latest API changes in Tinymail

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/tmut-menu-view.c

    r61 r70  
    577577        tny_folder_store_query_add_item (query, NULL,  
    578578                TNY_FOLDER_STORE_QUERY_OPTION_SUBSCRIBED); 
    579         model = tny_gtk_folder_store_tree_model_new (query); 
     579 
     580        model = tny_gtk_folder_store_tree_model_new (NULL); 
    580581        tny_gtk_folder_store_tree_model_append (TNY_GTK_FOLDER_STORE_TREE_MODEL (model), 
    581582                TNY_FOLDER_STORE (account), tny_account_get_name (account)); 
  • trunk/src/tmut-msg-creator.c

    r65 r70  
    164164                TnyMimePart *msg_part = tny_camel_mime_part_new (); 
    165165 
    166                 tny_mime_part_construct_from_stream (msg_part, info->stream, "text/plain"); 
     166                tny_mime_part_construct (msg_part, info->stream, "text/plain", "7bit"); 
    167167                tny_mime_part_add_part (TNY_MIME_PART (info->msg), msg_part); 
    168168                g_object_unref (msg_part); 
     
    176176                g_object_unref (iter); 
    177177        } else 
    178                 tny_mime_part_construct_from_stream (TNY_MIME_PART (info->msg), info->stream, "text/plain");  
     178                tny_mime_part_construct (TNY_MIME_PART (info->msg), info->stream, "text/plain", "7bit");  
    179179 
    180180        tny_send_queue_add (info->send_queue, info->msg, NULL);