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:
parent
32b8bc39ac
commit
d7d996b1d3
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user