chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stop balance widget springing back into life in compact mode when
[disorder]
/
disobedience
/
control.c
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);
/* 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);
l = volume_l / 100.0;
r = volume_r / 100.0;
gtk_adjustment_set_value(volume_adj, volume(l, r) * goesupto);