Changeset 2ec737f for global.c


Ignore:
Timestamp:
Sep 18, 2010, 5:07:40 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
a728387
Parents:
09ceee3
git-author:
David Benjamin <davidben@mit.edu> (08/15/10 19:28:29)
git-committer:
David Benjamin <davidben@mit.edu> (09/18/10 17:07:40)
Message:
Add owl_function_set_search

Instead of allowing OWL_DIRECTION_NONE in owl_function_search_start,
make the setsearch command just call a more approriately named function.

Also, move the mainwin redisplay into owl_global_set_search_re.
Although, really it should just emit a signal.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    rfc5eef4 r2ec737f  
    659659  if (re != NULL)
    660660    owl_regex_copy(re, &g->search_re);
    661   /* TODO: Emit a signal so we don't depend on the viewwin here. */
     661  /* TODO: Emit a signal so we don't depend on the viewwin and mainwin */
    662662  if (owl_global_get_viewwin(g))
    663663    owl_viewwin_dirty(owl_global_get_viewwin(g));
     664  owl_mainwin_redisplay(owl_global_get_mainwin(g));
    664665}
    665666
Note: See TracChangeset for help on using the changeset viewer.