mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 912864 Rename 'SelectMedia', 'MediaNextTrack' and 'MediaPreviousTrack' to 'MediaSelect', 'MediaTrackNext' and 'MediaTrackPrevious' r=smaug
This commit is contained in:
parent
55afe1dd91
commit
b1b36c7df5
@ -398,8 +398,8 @@ var shell = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let mediaKeys = {
|
let mediaKeys = {
|
||||||
'MediaNextTrack': 'media-next-track-button',
|
'MediaTrackNext': 'media-next-track-button',
|
||||||
'MediaPreviousTrack': 'media-previous-track-button',
|
'MediaTrackPrevious': 'media-previous-track-button',
|
||||||
'MediaPause': 'media-pause-button',
|
'MediaPause': 'media-pause-button',
|
||||||
'MediaPlay': 'media-play-button',
|
'MediaPlay': 'media-play-button',
|
||||||
'MediaPlayPause': 'media-play-pause-button',
|
'MediaPlayPause': 'media-play-pause-button',
|
||||||
|
@ -211,10 +211,10 @@ DEFINE_KEYNAME_WITH_SAME_NAME(F35)
|
|||||||
// DEFINE_KEYNAME_WITH_SAME_NAME(MailReply)
|
// DEFINE_KEYNAME_WITH_SAME_NAME(MailReply)
|
||||||
// DEFINE_KEYNAME_WITH_SAME_NAME(MailSend)
|
// DEFINE_KEYNAME_WITH_SAME_NAME(MailSend)
|
||||||
DEFINE_KEYNAME_WITH_SAME_NAME(MediaPlayPause)
|
DEFINE_KEYNAME_WITH_SAME_NAME(MediaPlayPause)
|
||||||
DEFINE_KEYNAME_WITH_SAME_NAME(SelectMedia) // Rename to MediaSelect
|
DEFINE_KEYNAME_WITH_SAME_NAME(MediaSelect)
|
||||||
DEFINE_KEYNAME_WITH_SAME_NAME(MediaStop)
|
DEFINE_KEYNAME_WITH_SAME_NAME(MediaStop)
|
||||||
DEFINE_KEYNAME_WITH_SAME_NAME(MediaNextTrack) // Rename to MediaTrackNext
|
DEFINE_KEYNAME_WITH_SAME_NAME(MediaTrackNext)
|
||||||
DEFINE_KEYNAME_WITH_SAME_NAME(MediaPreviousTrack) // Rename to MediaTrackPrevious
|
DEFINE_KEYNAME_WITH_SAME_NAME(MediaTrackPrevious)
|
||||||
// DEFINE_KEYNAME_WITH_SAME_NAME(New)
|
// DEFINE_KEYNAME_WITH_SAME_NAME(New)
|
||||||
// DEFINE_KEYNAME_WITH_SAME_NAME(Open)
|
// DEFINE_KEYNAME_WITH_SAME_NAME(Open)
|
||||||
// DEFINE_KEYNAME_WITH_SAME_NAME(Print)
|
// DEFINE_KEYNAME_WITH_SAME_NAME(Print)
|
||||||
|
@ -734,8 +734,8 @@ KEY_MAP_WIN (MediaPlayPause, VK_MEDIA_PLAY_PAUSE)
|
|||||||
KEY_MAP_QT (MediaPlayPause, Qt::Key_MediaTogglePlayPause)
|
KEY_MAP_QT (MediaPlayPause, Qt::Key_MediaTogglePlayPause)
|
||||||
KEY_MAP_ANDROID (MediaPlayPause, AKEYCODE_MEDIA_PLAY_PAUSE)
|
KEY_MAP_ANDROID (MediaPlayPause, AKEYCODE_MEDIA_PLAY_PAUSE)
|
||||||
|
|
||||||
// SelectMedia
|
// MediaSelect
|
||||||
KEY_MAP_WIN (SelectMedia, VK_LAUNCH_MEDIA_SELECT)
|
KEY_MAP_WIN (MediaSelect, VK_LAUNCH_MEDIA_SELECT)
|
||||||
|
|
||||||
// MediaStop
|
// MediaStop
|
||||||
KEY_MAP_WIN (MediaStop, VK_MEDIA_STOP)
|
KEY_MAP_WIN (MediaStop, VK_MEDIA_STOP)
|
||||||
@ -743,17 +743,17 @@ KEY_MAP_GTK (MediaStop, GDK_AudioStop)
|
|||||||
KEY_MAP_QT (MediaStop, Qt::Key_MediaStop)
|
KEY_MAP_QT (MediaStop, Qt::Key_MediaStop)
|
||||||
KEY_MAP_ANDROID (MediaStop, AKEYCODE_MEDIA_STOP)
|
KEY_MAP_ANDROID (MediaStop, AKEYCODE_MEDIA_STOP)
|
||||||
|
|
||||||
// MediaNextTrack
|
// MediaTrackNext
|
||||||
KEY_MAP_WIN (MediaNextTrack, VK_MEDIA_NEXT_TRACK)
|
KEY_MAP_WIN (MediaTrackNext, VK_MEDIA_NEXT_TRACK)
|
||||||
KEY_MAP_GTK (MediaNextTrack, GDK_AudioNext)
|
KEY_MAP_GTK (MediaTrackNext, GDK_AudioNext)
|
||||||
KEY_MAP_QT (MediaNextTrack, Qt::Key_MediaNext)
|
KEY_MAP_QT (MediaTrackNext, Qt::Key_MediaNext)
|
||||||
KEY_MAP_ANDROID (MediaNextTrack, AKEYCODE_MEDIA_NEXT)
|
KEY_MAP_ANDROID (MediaTrackNext, AKEYCODE_MEDIA_NEXT)
|
||||||
|
|
||||||
// MediaPreviousTrack
|
// MediaTrackPrevious
|
||||||
KEY_MAP_WIN (MediaPreviousTrack, VK_MEDIA_PREV_TRACK)
|
KEY_MAP_WIN (MediaTrackPrevious, VK_MEDIA_PREV_TRACK)
|
||||||
KEY_MAP_GTK (MediaPreviousTrack, GDK_AudioPrev)
|
KEY_MAP_GTK (MediaTrackPrevious, GDK_AudioPrev)
|
||||||
KEY_MAP_QT (MediaPreviousTrack, Qt::Key_MediaPrevious)
|
KEY_MAP_QT (MediaTrackPrevious, Qt::Key_MediaPrevious)
|
||||||
KEY_MAP_ANDROID (MediaPreviousTrack, AKEYCODE_MEDIA_PREVIOUS)
|
KEY_MAP_ANDROID (MediaTrackPrevious, AKEYCODE_MEDIA_PREVIOUS)
|
||||||
|
|
||||||
// VolumeDown
|
// VolumeDown
|
||||||
KEY_MAP_WIN (VolumeDown, VK_VOLUME_DOWN)
|
KEY_MAP_WIN (VolumeDown, VK_VOLUME_DOWN)
|
||||||
|
Loading…
Reference in New Issue
Block a user