Changeset d6f2d21


Ignore:
Timestamp:
Jun 3, 2010, 2:11:54 AM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
94be4a8
Parents:
40597e7
Message:
Hook up and use the message-received signal in the sepbar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r99ce51c rd6f2d21  
    2121#include <locale.h>
    2222#include "owl.h"
     23#include "globalnotifier.h"
    2324
    2425
     
    270271  /* log the message if we need to */
    271272  owl_log_message(m);
     273  /* emit a signal for listeners */
     274  owl_global_notifier_emit_message_received(g.gn, m);
    272275
    273276  return 1;
     
    302305    /* this should be optimized to not run if the new messages won't be displayed */
    303306    owl_mainwin_redisplay(owl_global_get_mainwin(&g));
    304     sepbar_dirty();
    305307  }
    306308  return newmsgs;
  • sepbar.c

    r521e600 rd6f2d21  
    66{
    77  g_signal_connect(w, "redraw", G_CALLBACK(sepbar_redraw), NULL);
     8  owl_dirty_window_on_signal(w, g.gn, "message-received");
    89  owl_window_dirty(w);
    910}
Note: See TracChangeset for help on using the changeset viewer.