[Bug 268864] Re: Play/Pause button does not toggle between pause and play icon when pushed
Jerry Snitselaar
dev at snitselaar.org
Fri Sep 12 08:53:24 UTC 2008
If it is decided this is a bug and not a feature here is a patch to fix
it:
diff -r -U10 amarok-1.4.9.1/amarok/src/actionclasses.cpp amarok-patched/amarok/src/actionclasses.cpp
--- amarok-1.4.9.1/amarok/src/actionclasses.cpp 2008-04-10 13:16:37.000000000 -0700
+++ amarok-patched/amarok/src/actionclasses.cpp 2008-09-12 01:22:02.000000000 -0700
@@ -222,22 +222,22 @@
QString text;
switch( state ) {
case Engine::Playing:
setChecked( false );
setIcon( Amarok::icon( "pause" ) );
text = i18n( "Pause" );
break;
case Engine::Paused:
setChecked( true );
- setIcon( Amarok::icon( "pause" ) );
- text = i18n( "Pause" );
+ setIcon( Amarok::icon( "play" ) );
+ text = i18n( "Play" );
break;
case Engine::Empty:
setChecked( false );
setIcon( Amarok::icon( "play" ) );
text = i18n( "Play" );
break;
case Engine::Idle:
return;
}
** Attachment added: "amarok.udiff"
http://launchpadlibrarian.net/17552079/amarok.udiff
--
Play/Pause button does not toggle between pause and play icon when pushed
https://bugs.launchpad.net/bugs/268864
You received this bug notification because you are a member of Almost
Kubuntu Bugs, which is subscribed to amarok in ubuntu.
More information about the kubuntu-bugs
mailing list