Patch by: Grzegorz Dymarek <gregd@interia.pl>

2007-07-01  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Grzegorz Dymarek <gregd@interia.pl>

	* gnome-settings-multimedia-keys.c: (do_sound_action): don't
	unmute when lowering the volume and switch to muted when the
	volume reaches 0 (closes bug #337896)

svn path=/trunk/; revision=7818
This commit is contained in:
Jens Granseuer 2007-07-01 16:45:33 +00:00 committed by Jens Granseuer
parent 04832abec9
commit 762d87b655
2 changed files with 11 additions and 5 deletions

View file

@ -1,3 +1,11 @@
2007-07-01 Jens Granseuer <jensgr@gmx.net>
Patch by: Grzegorz Dymarek <gregd@interia.pl>
* gnome-settings-multimedia-keys.c: (do_sound_action): don't
unmute when lowering the volume and switch to muted when the
volume reaches 0 (closes bug #337896)
2007-07-01 Jens Granseuer <jensgr@gmx.net>
* gnome-settings-background.c:

View file

@ -640,11 +640,9 @@ do_sound_action (Acme *acme, int type)
acme_volume_mute_toggle (acme->volobj);
break;
case VOLUME_DOWN_KEY:
if (muted) {
acme_volume_mute_toggle(acme->volobj);
} else {
acme_volume_set_volume (acme->volobj, vol - vol_step);
}
if (!muted && (vol <= vol_step))
acme_volume_mute_toggle (acme->volobj);
acme_volume_set_volume (acme->volobj, vol - vol_step);
break;
case VOLUME_UP_KEY:
if (muted) {