Changeset 59cf91c for filter.c


Ignore:
Timestamp:
Aug 17, 2002, 1:21:17 PM (18 years ago)
Author:
Erik Nygren <nygren@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
67103d4
Parents:
37c27cf
Message:
	Attempts to stay near the current message when switching views.
	     When switching from an empty view to one we've previously
	     been in, the new current message position will attempt
	     to be close to the current position from the last
	     time we visited that view.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • filter.c

    r1aee7d9 r59cf91c  
    2121  f->polarity=0;
    2222  f->color=OWL_COLOR_DEFAULT;
     23  f->cachedmsgid=-1;
    2324  owl_list_create(&(f->fes));
    2425
     
    9596int owl_filter_get_color(owl_filter *f) {
    9697  return(f->color);
     98}
     99
     100void owl_filter_set_cachedmsgid(owl_filter *f, int cachedmsgid) {
     101  f->cachedmsgid=cachedmsgid;
     102}
     103
     104int owl_filter_get_cachedmsgid(owl_filter *f) {
     105  return(f->cachedmsgid);
    97106}
    98107
Note: See TracChangeset for help on using the changeset viewer.