don't check the internal volume since this makes it impossible to unmute a
2007-08-18 Jens Granseuer <jensgr@gmx.net> * actions/acme-volume-gstreamer.c: (update_state): don't check the internal volume since this makes it impossible to unmute a low volume (that translates to an internal GStreamer volume of 0) * gnome-settings-multimedia-keys.c: (do_sound_action): if we're muted and silent, don't just unmute on VOL+ but also raise the volume svn path=/trunk/; revision=8017
This commit is contained in:
parent
70a23111a8
commit
8323405071
3 changed files with 29 additions and 18 deletions
|
@ -646,7 +646,9 @@ do_sound_action (Acme *acme, int type)
|
|||
break;
|
||||
case VOLUME_UP_KEY:
|
||||
if (muted) {
|
||||
acme_volume_mute_toggle(acme->volobj);
|
||||
if (vol == 0)
|
||||
acme_volume_set_volume (acme->volobj, vol + vol_step);
|
||||
acme_volume_mute_toggle (acme->volobj);
|
||||
} else {
|
||||
acme_volume_set_volume (acme->volobj, vol + vol_step);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue