aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-07-04 01:15:26 +0800
committerPeter Williams <peterw@src.gnome.org>2001-07-04 01:15:26 +0800
commit0e893f8bc4259f6316ec99b29b825bf5a36b4312 (patch)
tree38f1394689ed98f5df8d953db3d70b2d3dd71f6d /camel
parentbb88c579bf054d33902df30a297dbb448f3d0e37 (diff)
downloadgsoc2013-evolution-0e893f8bc4259f6316ec99b29b825bf5a36b4312.tar
gsoc2013-evolution-0e893f8bc4259f6316ec99b29b825bf5a36b4312.tar.gz
gsoc2013-evolution-0e893f8bc4259f6316ec99b29b825bf5a36b4312.tar.bz2
gsoc2013-evolution-0e893f8bc4259f6316ec99b29b825bf5a36b4312.tar.lz
gsoc2013-evolution-0e893f8bc4259f6316ec99b29b825bf5a36b4312.tar.xz
gsoc2013-evolution-0e893f8bc4259f6316ec99b29b825bf5a36b4312.tar.zst
gsoc2013-evolution-0e893f8bc4259f6316ec99b29b825bf5a36b4312.zip
Prevent folders from appearing to have -1 new messages. Prevent nonactive
2001-07-03 Peter Williams <peterw@ximian.com> Prevent folders from appearing to have -1 new messages. Prevent nonactive folders from updating the title bar. Make the title bar update when switching to an already-opened folder. * mail-folder-cache.c (update_message_counts): Ignore the value for 'unread' if it is -1. (get_mail_info_receive): Same (mail_folder_cache_note_folderinfo): Same. (get_folder_info): Initialize 'fb' to NULL. (mail_folder_info): Add 'fb' member. (mail_folder_cache_note_fb): Change note_message_list to this. (update_idle): Only update the ShellView if the active folder browser is the same as the one that the MFI references. (mail_folder_cache_set_folder_browser): New function. Use it to set the active folder browser. NULL is okay. (check_for_fb_match): Called from the above. If the MFI has the new folder browser as its view, queue an update. * mail-folder-cache.h: Fix prototypes. * mail-callbacks.c (create_folders): Check if fi->url is nonnull. * folder-browser.c (got_folder): Change to use note_fb instead of note_messge_list. * folder-browser-factory.c (control_activate): Set the folder browser (control_deactivate): Clear it here. (fb_get_svi): Kill some inappropriately cut-n-pasted code. svn path=/trunk/; revision=10755
Diffstat (limited to 'camel')
0 files changed, 0 insertions, 0 deletions