Changeset 58097 in webkit
- Timestamp:
- Apr 22, 2010 8:36:42 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r58095 r58097 1 2010-04-22 Diego Escalante Urrelo <descalante@igalia.com> 2 3 Reviewed by Xan Lopez. 4 5 [GTK] Mute/unmute button on <video> elements are backwards 6 https://bugs.webkit.org/show_bug.cgi?id=33967 7 8 Fix mute/unmute buttons icons-action relation and explain why their 9 variable names and corresponding icons seem to be misleading but are 10 actually right. Original patch by Mike Hommey. 11 12 * platform/gtk/RenderThemeGtk.cpp: 13 (WebCore::RenderThemeGtk::initMediaStyling): 14 1 15 2010-04-22 Gustavo Sverzut Barbieri <barbieri@profusion.mobi> 2 16 -
trunk/WebCore/platform/gtk/RenderThemeGtk.cpp
r56825 r58097 93 93 94 94 m_fullscreenButton = Image::loadPlatformThemeIcon("gtk-fullscreen", m_mediaIconSize); 95 m_muteButton = Image::loadPlatformThemeIcon("audio-volume-muted", m_mediaIconSize); 96 m_unmuteButton = Image::loadPlatformThemeIcon("audio-volume-high", m_mediaIconSize); 95 // Note that the muteButton and unmuteButton take icons reflecting 96 // the *current* state. Hence, the unmuteButton represents the *muted* 97 // status, the muteButton represents the then current *unmuted* status. 98 m_muteButton = Image::loadPlatformThemeIcon("audio-volume-high", m_mediaIconSize); 99 m_unmuteButton = Image::loadPlatformThemeIcon("audio-volume-muted", m_mediaIconSize); 97 100 m_playButton = Image::loadPlatformThemeIcon(reinterpret_cast<const char*>(playButtonIconName), m_mediaIconSize); 98 101 m_pauseButton = Image::loadPlatformThemeIcon("gtk-media-pause", m_mediaIconSize).releaseRef();
Note: See TracChangeset
for help on using the changeset viewer.