Actually handle the sound parameter
This commit is contained in:
1 parent
caecef4ecd
commit
f125bf058e
1 file changed
+1
@@ -2111,6 +2111,7 @@ class GUIManager:
|
|||||||
def grab_attention(self, *, sound: bool = True):
|
def grab_attention(self, *, sound: bool = True):
|
||||||
self.tray.restore()
|
self.tray.restore()
|
||||||
self._root.focus_force()
|
self._root.focus_force()
|
||||||
|
if sound:
|
||||||
self._root.bell()
|
self._root.bell()
|
||||||
|
|
||||||
def set_games(self, games: abc.Iterable[Game]) -> None:
|
def set_games(self, games: abc.Iterable[Game]) -> None:
|
||||||
|
|||||||
Reference in new issue
Block a user