GNOME Bugzilla – Bug 117516
"Delete all articles" shouldn't be much longer when group loaded
Last modified: 2006-06-18 05:01:47 UTC
The action which consists in deleting all articles in a group shouldn't take much more time when this group is loaded in the header pane
There needs to be some way for the header pane to suss out that _all_ articles are being deleted and call gtk_clist_clear() instead, but I don't like the idea of walking through each node in the header pane and looking for matches in the `articles being removed' event's list -- that would be slow too. Maybe the header pane's `articles being removed' event handler could compare the number of articles being removed to group->article_qty. If they match, then we could call gtk_clist_clear() instead of removing each node at a time...
Fixed in CVS: http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan&command=DIFF_FRAMESET&file=articlelist.c&rev1=1.646&rev2=1.647&root=/cvs/gnome http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan&command=DIFF_FRAMESET&file=ANNOUNCE.html&rev1=1.175&rev2=1.176&root=/cvs/gnome