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,10 +93,10 @@ var AutomountManager = class {
|
|||||||
if (!this._session.SessionIsActive)
|
if (!this._session.SessionIsActive)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
let sound = global.display.get_sound();
|
let player = global.display.get_sound_player();
|
||||||
sound.play_from_theme('device-removed-media',
|
player.play_from_theme('device-removed-media',
|
||||||
_("External drive disconnected"),
|
_("External drive disconnected"),
|
||||||
null);
|
null);
|
||||||
}
|
}
|
||||||
|
|
||||||
_onDriveEjectButton(monitor, drive) {
|
_onDriveEjectButton(monitor, drive) {
|
||||||
|
Loading…
Reference in New Issue
Block a user