Changeset 2175

Show
Ignore:
Timestamp:
06/15/07 12:48:21
Author:
pvanhoof
Message:

Folder changed signals in camel-lite for local folders

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r2173 r2175  
    44        * Experimental timeout for hostname lookups 
    55        * Unread and total count updating 
     6        * Local folders for now will no longer emit "folder_changed" signals 
    67 
    782007-06-14  Philip Van Hoof  <pvanhoof@gnome.org> 
  • trunk/libtinymail-camel/camel-lite/camel/providers/local/camel-local-folder.c

    r2159 r2175  
    5151#include "camel-text-index.h" 
    5252 
     53#include "camel-string-utils.h" 
     54 
    5355#include "camel-local-folder.h" 
    5456#include "camel-local-private.h" 
     
    318320         
    319321                if (lf->folder_path) 
    320                         camel_du (lf->folder_path, &fi->local_size); 
     322                        camel_du (lf->folder_path, (int *) &fi->local_size); 
    321323 
    322324                camel_url_free (url); 
     
    480482                return; 
    481483 
     484        /* TNY TODO: Temporary fix (changeinfo's for local folders?!  
    482485        if (camel_folder_change_info_changed(lf->changes)) { 
    483486                camel_object_trigger_event((CamelObject *)folder, "folder_changed", lf->changes); 
    484487                camel_folder_change_info_clear(lf->changes); 
    485         } 
     488        }*/ 
    486489} 
    487490 
  • trunk/libtinymail/tny-merge-folder.c

    r2174 r2175  
    4343 
    4444 
    45 /* 
    4645static void 
    4746notify_folder_observers_about (TnyFolder *self, TnyFolderChange *change) 
     
    6766        g_static_rec_mutex_unlock (priv->lock); 
    6867} 
    69 */ 
     68 
    7069 
    7170static void 
     
    906905tny_merge_folder_update (TnyFolderObserver *self, TnyFolderChange *change) 
    907906{ 
    908         /*notify_folder_observers_about (TNY_FOLDER (self), change);*/ 
     907        notify_folder_observers_about (TNY_FOLDER (self), change); 
    909908} 
    910909