mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 479238 - Add menu sounds to GTK's nsSound API
--HG-- extra : rebase_source : 1bd5ea38b7ab7d8943a8f314c6c313ab4512ec71
This commit is contained in:
parent
2b5e16d2e4
commit
609b1da897
@ -452,6 +452,10 @@ nsresult nsSound::PlaySystemEventSound(const nsAString &aSoundAlias)
|
||||
ca_context_play(ctx, 0, "event.id", "dialog-question", NULL);
|
||||
else if (aSoundAlias.Equals(NS_SYSSOUND_MAIL_BEEP))
|
||||
ca_context_play(ctx, 0, "event.id", "message-new-email", NULL);
|
||||
else if (aSoundAlias.Equals(NS_SYSSOUND_MENU_EXECUTE))
|
||||
ca_context_play(ctx, 0, "event.id", "menu-click", NULL);
|
||||
else if (aSoundAlias.Equals(NS_SYSSOUND_MENU_POPUP))
|
||||
ca_context_play(ctx, 0, "event.id", "menu-popup", NULL);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user