chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update control buttons when disconnection detected
[disorder]
/
disobedience
/
client.c
diff --git
a/disobedience/client.c
b/disobedience/client.c
index 6ec4be5e6ad9c9adf811cfcdbd0d37cc0d2d6fc9..ea0dbd9acd321f21042c9c808399ea4320fb4fb4 100644
(file)
--- a/
disobedience/client.c
+++ b/
disobedience/client.c
@@
-110,6
+110,8
@@
static void gtkclient_poll(void *u,
static void gtkclient_comms_error(void attribute((unused)) *u,
const char *msg) {
D(("gtkclient_comms_error %s", msg));
+ /* Control buttons might have become unusable */
+ control_update();
gtk_label_set_text(GTK_LABEL(report_label), msg);
}