chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2b3311
)
Stop balance widget springing back into life in compact mode when
author
Richard Kettlewell
<rjk@greenend.org.uk>
Sun, 6 Dec 2009 11:19:14 +0000
(11:19 +0000)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Sun, 6 Dec 2009 11:19:14 +0000
(11:19 +0000)
volume is modified.
disobedience/control.c
patch
|
blob
|
blame
|
history
diff --git
a/disobedience/control.c
b/disobedience/control.c
index e371ca9f687a6cded66140498fe676a646625fb8..ea095c1c9cd4dd85765c8eb2b0dd12129819490b 100644
(file)
--- a/
disobedience/control.c
+++ b/
disobedience/control.c
@@
-334,7
+334,8
@@
static void volume_changed(const char attribute((unused)) *event,
/* Only display volume/balance controls if they will work */
if(volume_supported()) {
gtk_widget_show(volume_widget);
- gtk_widget_show(balance_widget);
+ if(full_mode)
+ gtk_widget_show(balance_widget);
l = volume_l / 100.0;
r = volume_r / 100.0;
gtk_adjustment_set_value(volume_adj, volume(l, r) * goesupto);