summaryrefslogtreecommitdiff
path: root/src/bw.c
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2007-12-12 21:46:27 +0100
committerjcid <devnull@localhost>2007-12-12 21:46:27 +0100
commitf653aeb9f98382f651795803c5796f4a7a05a7fb (patch)
tree82e6ff7eaf9e2e5c54e52f3a246f4849e6c9bb2a /src/bw.c
parentbd863ef10ed4431d5cb128ce6af959fc39b14eb0 (diff)
Made the stop button sensitive when loading an image.
Diffstat (limited to 'src/bw.c')
-rw-r--r--src/bw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bw.c b/src/bw.c
index ef8d7bc8..54476f54 100644
--- a/src/bw.c
+++ b/src/bw.c
@@ -135,6 +135,8 @@ void a_Bw_add_client(BrowserWindow *bw, int Key, int Root)
/* --Images progress-bar stuff-- */
a_UIcmd_set_img_prog(bw, bw->NumImagesGot, bw->NumImages, 1);
}
+ if (dList_length(bw->RootClients) + dList_length(bw->ImageClients) == 1)
+ a_UIcmd_set_buttons_sens(bw);
}
/*