[vlc-commits] Win32: fix taskbar icons states

Jean-Baptiste Kempf git at videolan.org
Tue Apr 26 03:13:34 CEST 2011


vlc/vlc-1.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Apr 26 02:51:53 2011 +0200| [c27c71c1e5ed1162ffec78a66433648f73c03e10] | committer: Jean-Baptiste Kempf

Win32: fix taskbar icons states

Close #4559
(cherry picked from commit a05e7f3542aadbb87b59aa4486304cf6df965ffb)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=c27c71c1e5ed1162ffec78a66433648f73c03e10
---

 modules/gui/qt4/main_interface_win32.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/main_interface_win32.cpp b/modules/gui/qt4/main_interface_win32.cpp
index 36a1206..85df6fb 100644
--- a/modules/gui/qt4/main_interface_win32.cpp
+++ b/modules/gui/qt4/main_interface_win32.cpp
@@ -265,6 +265,7 @@ void MainInterface::changeThumbbarButtons( int i_status)
 
     switch( i_status )
     {
+        case OPENING_S:
         case PLAYING_S:
             {
                 thbButtons[0].dwFlags = THBF_ENABLED;
@@ -273,7 +274,9 @@ void MainInterface::changeThumbbarButtons( int i_status)
                 thbButtons[1].iBitmap = 1;
                 break;
             }
+        case END_S:
         case PAUSE_S:
+        case ERROR_S:
             {
                 thbButtons[0].dwFlags = THBF_ENABLED;
                 thbButtons[1].dwFlags = THBF_ENABLED;



More information about the vlc-commits mailing list