[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeplasma-addons/applets/nowplaying
From:       Alex Merry <kde () randomguy3 ! me ! uk>
Date:       2008-11-22 1:36:44
Message-ID: 1227317804.018375.19533.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 887474 by alexmerry:

Fix a bug where using the button on the widget to play or pause amarok caused the \
button to be erroneously disabled.

CCMAIL: morpheuz@openbossa.org



 M  +2 -0      controls.cpp  


--- trunk/KDE/kdeplasma-addons/applets/nowplaying/controls.cpp #887473:887474
@@ -41,10 +41,12 @@
     if (m_state == Playing) {
         m_state = Paused;
         m_playpause->setIcon("media-playback-start");
+        m_controller->associateWidget(m_playpause, "play");
         emit pause();
     } else {
         m_state = Playing;
         m_playpause->setIcon("media-playback-pause");
+        m_controller->associateWidget(m_playpause, "pause");
         emit play();
     }
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic