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:
1b0a811
)
In compact mode, move the volume level to the right of the slider.
author
Richard Kettlewell
<rjk@greenend.org.uk>
Sun, 6 Dec 2009 11:29:12 +0000
(11:29 +0000)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Sun, 6 Dec 2009 11:29:12 +0000
(11:29 +0000)
disobedience/control.c
patch
|
blob
|
blame
|
history
diff --git
a/disobedience/control.c
b/disobedience/control.c
index ea095c1c9cd4dd85765c8eb2b0dd12129819490b..bc3c2c5cac696f799a801da35e90e1c643e471dc 100644
(file)
--- a/
disobedience/control.c
+++ b/
disobedience/control.c
@@
-567,10
+567,13
@@
static int disable_rtp(disorder_eclient attribute((unused)) *c,
static void control_minimode(const char attribute((unused)) *event,
void attribute((unused)) *evendata,
void attribute((unused)) *callbackdata) {
- if(full_mode && volume_supported())
+ if(full_mode && volume_supported())
{
gtk_widget_show(balance_widget);
- else
+ gtk_scale_set_value_pos(GTK_SCALE(volume_widget), GTK_POS_TOP);
+ } else {
gtk_widget_hide(balance_widget);
+ gtk_scale_set_value_pos(GTK_SCALE(volume_widget), GTK_POS_RIGHT);
+ }
}
/*