Mercurial > pidgin.yaz
comparison console/libgnt/gntmain.c @ 13983:b7a99d54a5a9
[gaim-migrate @ 16552]
Add a debug window. The scrolling doesn't seem to work properly. I
will try to figure out what's wrong with it.
Start the request-ui. The ui for request input, choice and action are
mostly done. I am not handling multiline input requests yet. It's not
too high in my todo-list either.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 23 Jul 2006 20:38:07 +0000 |
parents | 0a0d2a1fd2bc |
children | 06f75fb84a78 |
comparison
equal
deleted
inserted
replaced
13982:052aee037835 | 13983:b7a99d54a5a9 |
---|---|
522 return TRUE; | 522 return TRUE; |
523 } | 523 } |
524 | 524 |
525 void gnt_init() | 525 void gnt_init() |
526 { | 526 { |
527 GIOChannel *channel = g_io_channel_unix_new(0); | 527 static GIOChannel *channel = NULL; |
528 | |
529 if (channel) | |
530 return; | |
531 | |
532 channel = g_io_channel_unix_new(0); | |
528 | 533 |
529 g_io_channel_set_encoding(channel, NULL, NULL); | 534 g_io_channel_set_encoding(channel, NULL, NULL); |
530 g_io_channel_set_buffered(channel, FALSE); | 535 g_io_channel_set_buffered(channel, FALSE); |
531 g_io_channel_set_flags(channel, G_IO_FLAG_NONBLOCK, NULL ); | 536 g_io_channel_set_flags(channel, G_IO_FLAG_NONBLOCK, NULL ); |
532 | 537 |