audioDeviceSelection: Ensure close() is called with no arguments
This is the same as commit c5b18ee66a
, but for the audio device selection
dialog.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4139
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1819>
This commit is contained in:
parent
7935da6168
commit
7eba5322b5
@ -57,7 +57,7 @@ var AudioDeviceSelectionDialog = GObject.registerClass({
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
this.addButton({
|
this.addButton({
|
||||||
action: this.close.bind(this),
|
action: () => this.close(),
|
||||||
label: _('Cancel'),
|
label: _('Cancel'),
|
||||||
key: Clutter.KEY_Escape,
|
key: Clutter.KEY_Escape,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user