[vlc-commits] Win32: fix taskbar icons states

Jean-Baptiste Kempf git at videolan.org
Tue Apr 26 02:53:00 CEST 2011


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

Win32: fix taskbar icons states

Close #4559

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

 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 be670ce..fb78213 100644
--- a/modules/gui/qt4/main_interface_win32.cpp
+++ b/modules/gui/qt4/main_interface_win32.cpp
@@ -264,6 +264,7 @@ void MainInterface::changeThumbbarButtons( int i_status)
 
     switch( i_status )
     {
+        case OPENING_S:
         case PLAYING_S:
             {
                 thbButtons[0].dwFlags = THBF_ENABLED;
@@ -272,7 +273,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