Changeset db798a2 for sepbar.c


Ignore:
Timestamp:
Aug 7, 2013, 7:53:31 PM (11 years ago)
Author:
Jason Gross <jgross@mit.edu>
Children:
840e9b5
Parents:
48c09d4
git-author:
Jason Gross <jgross@mit.edu> (05/27/11 17:39:59)
git-committer:
Jason Gross <jgross@mit.edu> (08/07/13 19:53:31)
Message:
Added a perl hook for :away

Note: The sepbar no longer distinguishes between AWAY, A-AWAY, and
Z-AWAY.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sepbar.c

    r6eb3ed9 rdb798a2  
    6767  }
    6868
    69   if (owl_global_is_zaway(&g) || owl_global_is_aaway(&g)) {
     69  if (owl_function_is_away()) {
    7070    getyx(sepwin, y, x);
    7171    wmove(sepwin, y, x+2);
    7272    wattron(sepwin, A_BOLD);
    7373    wattroff(sepwin, A_REVERSE);
    74     if (owl_global_is_zaway(&g) && owl_global_is_aaway(&g)) {
    75       waddstr(sepwin, " AWAY ");
    76     } else if (owl_global_is_zaway(&g)) {
    77       waddstr(sepwin, " Z-AWAY ");
    78     } else if (owl_global_is_aaway(&g)) {
    79       waddstr(sepwin, " A-AWAY ");
    80     }
     74    waddstr(sepwin, " AWAY ");
    8175    wattron(sepwin, A_REVERSE);
    8276    wattroff(sepwin, A_BOLD);
Note: See TracChangeset for help on using the changeset viewer.