Changeset ecd5dc5 for owl.c


Ignore:
Timestamp:
Apr 12, 2003, 4:54:57 PM (21 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
e9b1f60
Parents:
8262340
Message:
M-p is bound to 'view personal' by default
loadsubs and loadloginsubs only print messages if in interactive
  mode
added the 'alert_filter' variable, defaults to 'none'.
added the 'alert_action' variable, which is an owl command that
  will be executed when new messages arive that match the
  alert_filter
added the 'term' command which takes the 'raise' and 'deiconify'
  options.  It assumes xterm for now.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r7933748 recd5dc5  
    268268      struct sockaddr_in from;
    269269      owl_message *m;
     270      owl_filter *f;
    270271
    271272      /* grab a notice, but if we've done 20 without stopping, take
     
    315316        owl_function_beep();
    316317      }
     318
     319      /* if it matches the alert filter, do the alert action */
     320      f=owl_global_get_filter(&g, owl_global_get_alert_filter(&g));
     321      if (f && owl_filter_message_match(f, m)) {
     322        owl_function_command(owl_global_get_alert_action(&g));
     323      }
     324
     325         
    317326
    318327      /* check for burning ears message */
Note: See TracChangeset for help on using the changeset viewer.