Changeset 0697f09 for owl.c


Ignore:
Timestamp:
Oct 19, 2009, 10:21:04 PM (12 years ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Branches:
master, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
26255f0
Parents:
12e291a
git-author:
Alejandro R. Sedeño <asedeno@mit.edu> (10/13/09 03:18:13)
git-committer:
Alejandro R. Sedeño <asedeno@mit.edu> (10/19/09 22:21:04)
Message:
Drop owl_animate_hack.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    rdbf94e9 r0697f09  
    470470  owl_popwin *pw;
    471471  int argcsave, followlast;
    472   int newmsgs, nexttimediff;
     472  int newmsgs;
    473473  const char *const *argvsave;
    474474  char *perlout, *perlerr;
    475475  const owl_style *s;
    476   time_t nexttime, now;
    477   struct tm *today;
    478476  const char *dir;
    479477  owl_message *m;
     
    621619  owl_context_set_interactive(owl_global_get_context(&g));
    622620
    623   nexttimediff=10;
    624   nexttime=time(NULL);
    625 
    626621  owl_select_add_timer(180, 180, owl_zephyr_buddycheck_timer, NULL, NULL);
    627622
     
    643638
    644639    followlast=owl_global_should_followlast(&g);
    645 
    646     /* little hack */
    647     now=time(NULL);
    648     today=localtime(&now);
    649     if (today->tm_mon==9 && today->tm_mday==31 && owl_global_get_runtime(&g)<600) {
    650       if (time(NULL)>nexttime) {
    651         if (nexttimediff==1) {
    652           nexttimediff=10;
    653         } else {
    654           nexttimediff=1;
    655         }
    656         nexttime+=nexttimediff;
    657         owl_hack_animate();
    658       }
    659     }
    660640
    661641    /* Grab incoming messages. */
Note: See TracChangeset for help on using the changeset viewer.