Changeset 330bcec for util.c


Ignore:
Timestamp:
Dec 24, 2003, 11:16:10 PM (17 years ago)
Author:
James M. Kretchmar <kretch@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:
3895e23
Parents:
fc57e84
Message:
In the sepbar, reverse video the view name when it's not set to
view_home (as opposed to the static 'all').
File:
1 edited

Legend:

Unmodified
Added
Removed
  • util.c

    r40458b9 r330bcec  
    4747
    4848  foo=owl_view_get_filtname(v);
    49   if (strcmp(foo, "all")) wattroff(sepwin, A_REVERSE);
     49  if (strcmp(foo, owl_global_get_view_home(&g))) wattroff(sepwin, A_REVERSE);
    5050  waddstr(sepwin, " ");
    5151  waddstr(sepwin, owl_view_get_filtname(v));
    5252  waddstr(sepwin, " ");
    53   if (strcmp(foo, "all")) wattron(sepwin, A_REVERSE);
     53  if (strcmp(foo, owl_global_get_view_home(&g))) wattron(sepwin, A_REVERSE);
    5454
    5555  if (owl_mainwin_is_curmsg_truncated(owl_global_get_mainwin(&g))) {
Note: See TracChangeset for help on using the changeset viewer.