Code

update screens after being disconnected from server
authorRomain Bignon <romain@peerfuse.org>
Tue, 3 Nov 2009 21:18:08 +0000 (22:18 +0100)
committerRomain Bignon <romain@peerfuse.org>
Tue, 3 Nov 2009 21:18:08 +0000 (22:18 +0100)
Signed-off-by: Romain Bignon <romain@peerfuse.org>
src/main.c

index 29c53a8d6c54adbef1e8abb8ec1b1509b288cb0c..cae4994e361ba1e69afa1c4d2b4733330eac5885 100644 (file)
@@ -352,6 +352,7 @@ idle_callback(enum mpd_error error, enum mpd_server_error server_error,
                doupdate();
 
                mpdclient_disconnect(c);
+               screen_update(mpd);
                reconnect_source_id = g_timeout_add(1000, timer_reconnect,
                                                    NULL);
                return;