Changeset 1764

Show
Ignore:
Timestamp:
03/30/07 16:28:02
Author:
pvanhoof
Message:

Fixed incrementally filling up treeviews while downloading

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r1763 r1764  
    44        * Auto updating the unread count of TnyFolderObservers when unread 
    55        flags are set on a TnyHeader 
    6          
     6        * Fixed incrementally filling up a GtkTreeView while downloading is 
     7        taking place (this needs a few small performance improvements btw).      
    78 
    89        * This was a major API change 
  • trunk/libtinymailui-gtk/tny-gtk-header-list-model.c

    r1763 r1764  
    458458                iter.stamp = me->stamp; 
    459459                iter.user_data = (gpointer) (me->items->len - 1); 
     460                gdk_threads_enter(); 
    460461                gtk_tree_model_row_inserted (GTK_TREE_MODEL (me), path, &iter); 
     462                gdk_threads_leave(); 
    461463        } 
    462464