diff src/remote.c @ 1291:50ae02a4a675

replaced bar_info with an universal bar, restored the original functionality (more or less) bar configuration is not yet saved
author nadvornik
date Sat, 14 Feb 2009 19:50:54 +0000
parents 8b89e3ff286b
children d53d4a448fae
line wrap: on
line diff
--- a/src/remote.c	Mon Feb 09 09:02:04 2009 +0000
+++ b/src/remote.c	Sat Feb 14 19:50:54 2009 +0000
@@ -235,6 +235,8 @@
 	rc->clients = NULL;
 
 	channel = g_io_channel_unix_new(rc->fd);
+	g_io_channel_set_flags(channel, G_IO_FLAG_NONBLOCK, NULL); 
+	
 	rc->channel_id = g_io_add_watch_full(channel, G_PRIORITY_DEFAULT, G_IO_IN,
 					     remote_server_read_cb, rc, NULL);
 	g_io_channel_unref(channel);