Changeset 3143

Show
Ignore:
Timestamp:
12/15/07 20:34:25
Author:
pvanhoof
Message:

IMplement missing api

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/docs/devel/reference/Makefile.am

    r2502 r3143  
    113113        $(top_builddir)/libtinymail-gnomevfs/libtinymail-gnomevfs-$(API_VERSION).la             \ 
    114114        $(top_builddir)/libtinymail-queues/libtinymail-queues-$(API_VERSION).la                 \ 
    115         $(top_builddir)/tests/shared/libtestsshared.
     115        $(top_builddir)/tests/shared/libtestsshared.l
    116116 
    117117 
  • trunk/docs/devel/reference/tmpl/tny-account-store.sgml

    r2922 r3143  
    4949 
    5050</para> 
    51  
    52 @: 
    5351 
    5452@tnyaccountstore: the object which received the signal. 
  • trunk/docs/devel/reference/tmpl/tny-account.sgml

    r2922 r3143  
    2828 
    2929</para> 
     30 
     31@: 
    3032 
    3133@tnyaccount: the object which received the signal. 
     
    7476@stop_operation_func:  
    7577@is_ready_func:  
     78@get_connection_policy_func:  
     79@set_connection_policy_func:  
    7680@connection_status_changed:  
    7781@changed:  
     
    99103 
    100104<!-- ##### FUNCTION tny_account_type_get_type ##### --> 
     105<para> 
     106 
     107</para> 
     108 
     109@Returns:  
     110 
     111 
     112<!-- ##### FUNCTION tny_connection_status_get_type ##### --> 
     113<para> 
     114 
     115</para> 
     116 
     117@Returns:  
     118 
     119 
     120<!-- ##### FUNCTION tny_account_signal_type_get_type ##### --> 
    101121<para> 
    102122 
     
    352372 
    353373 
     374<!-- ##### FUNCTION tny_account_get_connection_policy ##### --> 
     375<para> 
     376 
     377</para> 
     378 
     379@self:  
     380@Returns:  
     381 
     382 
     383<!-- ##### FUNCTION tny_account_set_connection_policy ##### --> 
     384<para> 
     385 
     386</para> 
     387 
     388@self:  
     389@policy:  
     390 
     391 
  • trunk/docs/devel/reference/tmpl/tny-device.sgml

    r2922 r3143  
    3636 
    3737</para> 
    38  
    39 @:  
    40 @: 
    4138 
    4239@tnydevice: the object which received the signal. 
  • trunk/docs/devel/reference/tmpl/tny-folder-change.sgml

    r2574 r3143  
    3030 
    3131</para> 
     32 
     33 
     34<!-- ##### FUNCTION tny_folder_change_changed_get_type ##### --> 
     35<para> 
     36 
     37</para> 
     38 
     39@Returns:  
    3240 
    3341 
  • trunk/docs/devel/reference/tmpl/tny-folder-store-change.sgml

    r2574 r3143  
    3030 
    3131</para> 
     32 
     33 
     34<!-- ##### FUNCTION tny_folder_store_change_changed_get_type ##### --> 
     35<para> 
     36 
     37</para> 
     38 
     39@Returns:  
    3240 
    3341 
  • trunk/docs/devel/reference/tmpl/tny-folder-store.sgml

    r1931 r3143  
    3232@remove_folder_func:  
    3333@create_folder_func:  
     34@create_folder_async_func:  
    3435@get_folders_func:  
    3536@get_folders_async_func:  
     
    5859 
    5960 
     61<!-- ##### FUNCTION tny_folder_store_create_folder_async ##### --> 
     62<para> 
     63 
     64</para> 
     65 
     66@self:  
     67@name:  
     68@callback:  
     69@status_callback:  
     70@user_data:  
     71 
     72 
    6073<!-- ##### FUNCTION tny_folder_store_get_folders ##### --> 
    6174<para> 
     
    7689@self:  
    7790@list:  
     91@query:  
    7892@callback:  
    79 @query:  
    8093@status_callback:  
    8194@user_data:  
  • trunk/docs/devel/reference/tmpl/tny-folder.sgml

    r2663 r3143  
    9696 
    9797 
     98<!-- ##### FUNCTION tny_folder_caps_get_type ##### --> 
     99<para> 
     100 
     101</para> 
     102 
     103@Returns:  
     104 
     105 
     106<!-- ##### FUNCTION tny_folder_signal_get_type ##### --> 
     107<para> 
     108 
     109</para> 
     110 
     111@Returns:  
     112 
     113 
    98114<!-- ##### FUNCTION tny_folder_get_msg_remove_strategy ##### --> 
    99115<para> 
     
    149165@self:  
    150166@headers:  
    151 @err:  
    152  
    153  
    154 <!-- ##### FUNCTION tny_folder_remove_msg_async ##### --> 
    155 <para> 
    156  
    157 </para> 
    158  
    159 @self:  
    160 @header:  
    161167@err:  
    162168 
  • trunk/docs/devel/reference/tmpl/tny-gtk-folder-store-tree-model.sgml

    r2922 r3143  
    120120 
    121121 
    122 <!-- ##### FUNCTION tny_gtk_folder_store_tree_model_stop_observing ##### --> 
    123 <para> 
    124  
    125 </para> 
    126  
    127 @self:  
    128  
    129  
  • trunk/docs/devel/reference/tmpl/tny-gtk-mime-part-save-strategy.sgml

    r999 r3143  
    3636</para> 
    3737 
     38@status_callback:  
     39@status_user_data:  
    3840@Returns:  
    3941 
  • trunk/docs/devel/reference/tmpl/tny-gtk-msg-view.sgml

    r1343 r3143  
    112112 
    113113 
     114<!-- ##### FUNCTION tny_gtk_msg_view_set_status_callback ##### --> 
     115<para> 
     116 
     117</para> 
     118 
     119@self:  
     120@status_callback:  
     121@status_user_data:  
     122 
     123 
     124<!-- ##### FUNCTION tny_gtk_msg_view_get_status_callback ##### --> 
     125<para> 
     126 
     127</para> 
     128 
     129@self:  
     130@status_callback:  
     131@status_user_data:  
     132 
     133 
     134<!-- ##### FUNCTION tny_gtk_msg_view_set_parented ##### --> 
     135<para> 
     136 
     137</para> 
     138 
     139@self:  
     140@parented:  
     141 
     142 
  • trunk/docs/devel/reference/tmpl/tny-gtk-text-mime-part-view.sgml

    r997 r3143  
    2929</para> 
    3030 
     31@status_callback:  
     32@status_user_data:  
    3133@Returns:  
    3234 
  • trunk/docs/devel/reference/tmpl/tny-merge-folder.sgml

    r2922 r3143  
    3131@folder_name:  
    3232@Returns:  
     33 
     34 
     35<!-- ##### FUNCTION tny_merge_folder_new_with_ui_locker ##### --> 
     36<para> 
     37 
     38</para> 
     39 
     40@folder_name:  
     41@ui_locker:  
     42@Returns:  
     43 
     44 
     45<!-- ##### FUNCTION tny_merge_folder_set_ui_locker ##### --> 
     46<para> 
     47 
     48</para> 
     49 
     50@self:  
     51@ui_locker:  
    3352 
    3453 
  • trunk/docs/devel/reference/tmpl/tny-mime-part.sgml

    r2574 r3143  
    5353@get_header_pairs_func:  
    5454@set_header_pair_func:  
     55@decode_to_stream_async_func:  
    5556 
    5657<!-- ##### FUNCTION tny_mime_part_get_content_type ##### --> 
     
    265266 
    266267 
     268<!-- ##### FUNCTION tny_mime_part_decode_to_stream_async ##### --> 
     269<para> 
     270 
     271</para> 
     272 
     273@self:  
     274@stream:  
     275@callback:  
     276@status_callback:  
     277@user_data:  
     278 
     279 
  • trunk/docs/devel/reference/tmpl/tny-moz-embed-html-mime-part-view.sgml

    r997 r3143  
    2929</para> 
    3030 
     31@status_callback:  
     32@status_user_data:  
    3133@Returns:  
    3234 
  • trunk/docs/devel/reference/tmpl/tny-send-queue.sgml

    r2922 r3143  
    4040</para> 
    4141 
     42@:  
     43@:  
     44@:  
     45@: 
     46 
    4247@tnysendqueue: the object which received the signal. 
    4348@arg1:  
     
    4954 
    5055</para> 
     56 
     57@:  
     58@:  
     59@:  
     60@:  
     61@: 
    5162 
    5263@tnysendqueue: the object which received the signal. 
     
    6071 
    6172</para> 
     73 
     74@:  
     75@:  
     76@:  
     77@:  
     78@: 
    6279 
    6380@tnysendqueue: the object which received the signal. 
  • trunk/docs/devel/reference/tmpl/tny-shared.sgml

    r2922 r3143  
    1919 
    2020<!-- ##### MACRO tny_debug ##### --> 
     21<para> 
     22 
     23</para> 
     24 
     25 
     26 
     27<!-- ##### MACRO TNY_PRIORITY_LOWER_THAN_GTK_REDRAWS ##### --> 
    2128<para> 
    2229 
     
    4754</para> 
    4855 
    49 @tnyaccountstore: the object which received the signal. 
     56@:  
    5057 
    5158<!-- ##### STRUCT TnyAccountStoreIface ##### --> 
     
    239246@get_header_pairs_func:  
    240247@set_header_pair_func:  
     248@decode_to_stream_async_func:  
    241249 
    242250<!-- ##### STRUCT TnyAccount ##### --> 
     
    251259</para> 
    252260 
    253 @:  
     261@tnyaccount: the object which received the signal. 
    254262 
    255263<!-- ##### SIGNAL TnyAccount::connection-status-changed ##### --> 
     
    294302@stop_operation_func:  
    295303@is_ready_func:  
     304@get_connection_policy_func:  
     305@set_connection_policy_func:  
    296306@connection_status_changed:  
    297307@changed:  
     
    308318</para> 
    309319 
    310 @tnydevice: the object which received the signal. 
    311 @arg1:  
     320@:  
     321@:  
    312322 
    313323<!-- ##### STRUCT TnyDeviceIface ##### --> 
     
    423433@remove_folder_func:  
    424434@create_folder_func:  
     435@create_folder_async_func:  
    425436@get_folders_func:  
    426437@get_folders_async_func:  
     
    479490</para> 
    480491 
    481 @:  
    482 @:  
    483 @:  
    484 @:  
     492@tnysendqueue: the object which received the signal. 
     493@arg1:  
     494@arg2:  
     495@arg3:  
    485496 
    486497<!-- ##### SIGNAL TnySendQueue::msg-sending ##### --> 
     
    489500</para> 
    490501 
    491 @:  
    492 @:  
    493 @:  
    494 @:  
    495 @:  
     502@tnysendqueue: the object which received the signal. 
     503@arg1:  
     504@arg2:  
     505@arg3:  
     506@arg4:  
    496507 
    497508<!-- ##### SIGNAL TnySendQueue::msg-sent ##### --> 
     
    500511</para> 
    501512 
    502 @:  
    503 @:  
    504 @:  
    505 @:  
    506 @:  
     513@tnysendqueue: the object which received the signal. 
     514@arg1:  
     515@arg2:  
     516@arg3:  
     517@arg4:  
    507518 
    508519<!-- ##### STRUCT TnySendQueueIface ##### --> 
     
    689700@parent:  
    690701 
     702<!-- ##### STRUCT TnyConnectionPolicy ##### --> 
     703<para> 
     704 
     705</para> 
     706 
     707 
     708<!-- ##### STRUCT TnyConnectionPolicyIface ##### --> 
     709<para> 
     710 
     711</para> 
     712 
     713@parent:  
     714@on_connect_func:  
     715@on_connection_broken_func:  
     716@on_disconnect_func:  
     717@set_current_func:  
     718 
    691719<!-- ##### USER_FUNCTION TnyGetPassFunc ##### --> 
    692720<para> 
     
    721749 
    722750 
     751<!-- ##### USER_FUNCTION TnyCreateFolderCallback ##### --> 
     752<para> 
     753 
     754</para> 
     755 
     756@self:  
     757@canceled:  
     758@new_folder:  
     759@err:  
     760@user_data:  
     761 
     762 
     763<!-- ##### USER_FUNCTION TnyMimePartCallback ##### --> 
     764<para> 
     765 
     766</para> 
     767 
     768@self:  
     769@stream:  
     770@canceled:  
     771@err:  
     772@user_data:  
     773 
     774 
    723775<!-- ##### USER_FUNCTION TnyGetHeadersCallback ##### --> 
    724776<para> 
  • trunk/libtinymail/tny-merge-folder.c

    r3104 r3143  
    8282 
    8383 
     84 
    8485static void 
    8586tny_merge_folder_remove_msg (TnyFolder *self, TnyHeader *header, GError **err) 
     
    9192 
    9293        return; 
     94} 
     95 
     96static void 
     97tny_merge_folder_remove_msgs (TnyFolder *self, TnyList *headers, GError **err) 
     98{ 
     99        TnyIterator *iter = tny_list_create_iterator (headers); 
     100        while (!tny_iterator_is_done (iter)) { 
     101                TnyHeader *cur = (TnyHeader *) tny_iterator_get_current (iter); 
     102                tny_merge_folder_remove_msg (self, cur, err); 
     103                /* TODO: check for err */ 
     104                tny_iterator_next (iter); 
     105        } 
     106        g_object_unref (iter); 
    93107} 
    94108 
     
    17001714        klass->get_url_string_func = tny_merge_folder_get_url_string; 
    17011715        klass->get_caps_func = tny_merge_folder_get_caps; 
     1716        klass->remove_msgs_func = tny_merge_folder_remove_msgs; 
    17021717} 
    17031718