Changeset 5b68c05 for global.c


Ignore:
Timestamp:
Sep 18, 2010, 3:17:27 PM (14 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.7, release-1.8, release-1.9
Children:
f7456bc
Parents:
449c682
git-author:
David Benjamin <davidben@mit.edu> (07/31/10 18:22:23)
git-committer:
David Benjamin <davidben@mit.edu> (09/18/10 15:17:27)
Message:
Update the viewwin when the global search string changes

This will want to be made less hacky when we have some notification
mechanism for all of owl_global's properties. Also, use the new
owl_viewwin_dirty in internal functions to avoid dirtying a NULL window.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    rba042db r5b68c05  
    643643  if (re != NULL)
    644644    owl_regex_copy(re, &g->search_re);
     645  /* TODO: Emit a signal so we don't depend on the viewwin here. */
     646  if (owl_global_get_viewwin(g))
     647    owl_viewwin_dirty(owl_global_get_viewwin(g));
    645648}
    646649
Note: See TracChangeset for help on using the changeset viewer.