banshee r4999 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.MediaEngine
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4999 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.MediaEngine
- Date: Mon, 2 Feb 2009 20:25:23 +0000 (UTC)
Author: gburt
Date: Mon Feb 2 20:25:23 2009
New Revision: 4999
URL: http://svn.gnome.org/viewvc/banshee?rev=4999&view=rev
Log:
2009-02-02 Gabriel Burt <gabriel burt gmail com>
* src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs:
Fix bug I just introduced to TogglePlaying where if Paused we wouldn't
start playing again when called (BGO #570051).
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs
Modified: trunk/banshee/src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs (original)
+++ trunk/banshee/src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs Mon Feb 2 20:25:23 2009
@@ -430,7 +430,7 @@
public void TogglePlaying ()
{
- if (IsPlaying ()) {
+ if (IsPlaying () && CurrentState != PlayerState.Paused) {
Pause ();
} else if (CurrentState != PlayerState.NotReady) {
Play ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]