automountManager: Fix playing disconnected sound

A typo sneaked in in commit 9a35c990 ...

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/432
This commit is contained in:
Florian Müllner 2019-03-04 14:36:13 +01:00
parent 32b8bc39ac
commit d7d996b1d3

View File

@ -93,8 +93,8 @@ var AutomountManager = class {
if (!this._session.SessionIsActive)
return;
let sound = global.display.get_sound();
sound.play_from_theme('device-removed-media',
let player = global.display.get_sound_player();
player.play_from_theme('device-removed-media',
_("External drive disconnected"),
null);
}