[banshee] [PlaybackControllerService] Call IncrementLastPlayed() from OnStopped()
- From: Alexander Kojevnikov <alexk src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [PlaybackControllerService] Call IncrementLastPlayed() from OnStopped()
- Date: Fri, 16 Oct 2009 00:01:46 +0000 (UTC)
commit e1c47cef35932a82fc5dad2c1e9441ed6a96977c
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date: Fri Oct 16 10:54:35 2009 +1100
[PlaybackControllerService] Call IncrementLastPlayed() from OnStopped()
Without this call the OnPlaybackFinished() handler is never triggered
when the playback stops (bgo#563021)
.../PlaybackControllerService.cs | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs b/src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs
index 5c52f55..8b58e70 100644
--- a/src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs
+++ b/src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs
@@ -358,6 +358,8 @@ namespace Banshee.PlaybackController
protected virtual void OnStopped ()
{
+ player_engine.IncrementLastPlayed ();
+
EventHandler handler = Stopped;
if (handler != null) {
handler (this, EventArgs.Empty);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]