Mercurial > pidgin.yaz
view finch/libgnt/test/key.c @ 28200:6f27b4d8c1c3
gtkconv: Remove the close-timer when a new message comes in. Fixes #8512.
This will happen if I "close" a conversation window (hide it), which
starts the close-timer. A new IM then comes in, which is hidden because
I have "Hide new IM conversations" set to Always (or When away) and then
the timer triggers a few minutes later.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Fri, 07 Aug 2009 17:11:12 +0000 |
parents | f104e1d45d85 |
children |
line wrap: on
line source
#include <ncurses.h> int main() { int ch; initscr(); noecho(); cbreak(); refresh(); WINDOW *win = newpad(20, 30); box(win, 0, 0); prefresh(win, 0, 0, 0, 0, 19, 29); doupdate(); while ((ch = getch())) { printw("%d ", ch); refresh(); } endwin(); return 0; }