Changeset b45293f for owl.c


Ignore:
Timestamp:
Oct 11, 2002, 11:56:23 PM (19 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:
68b41b0
Parents:
2adaf1d
Message:
Outgoing messages now go through the config for formatting
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r55a4578 rb45293f  
    3232  owl_editwin *tw;
    3333  owl_popwin *pw;
    34   int j, ret, initialsubs, debug, newzephyrs, argcsave, followlast;
     34  int j, ret, initialsubs, debug, newzephyrs, argcsave, followlast, nexttimediff;
    3535  struct sigaction sigact;
    36   char *configfile, *tty, *perlout;
    37   char buff[LINE], startupmsg[LINE];
    38   char **argvsave;
     36  char *configfile, *tty, *perlout, **argvsave, buff[LINE], startupmsg[LINE];
    3937  owl_filter *f;
    4038  time_t nexttime;
    41   int nexttimediff;
    4239
    4340  argcsave=argc;
     
    139136  /* setup the default filters */
    140137  f=malloc(sizeof(owl_filter));
    141   owl_filter_init_fromstring(f, "personal", "class ^message$ and instance ^personal$ and ( recipient ^%me%$ or sender ^%me%$ )"); /* fix to use admintype */
     138  owl_filter_init_fromstring(f, "personal", "class ^message$ and instance ^personal$ and ( recipient ^%me%$ or sender ^%me%$ )");
    142139  owl_list_append_element(owl_global_get_filterlist(&g), f);
    143140
     
    189186  sepwin=owl_global_get_curs_sepwin(&g);
    190187  typwin=owl_global_get_curs_typwin(&g);
    191 
    192188  tw=owl_global_get_typwin(&g);
    193189
     
    279275      /* create the new message */
    280276      m=owl_malloc(sizeof(owl_message));
    281       owl_message_create_from_zephyr(m, &notice);
     277      owl_message_create_from_znotice(m, &notice);
    282278     
    283279      /* if it's on the puntlist then, nuke it and continue */
     
    305301      if (owl_global_is_personalbell(&g) && owl_message_is_personal(m)) {
    306302        owl_function_beep();
    307         owl_global_set_needrefresh(&g);
    308303      }
    309304
Note: See TracChangeset for help on using the changeset viewer.