[banshee] [PlaybackControllerService] Clear the redo stack on shuffle mode change
- From: Alexander Kojevnikov <alexk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [PlaybackControllerService] Clear the redo stack on shuffle mode change
- Date: Fri, 5 Mar 2010 10:35:50 +0000 (UTC)
commit 61e0de9d454e7c4f99af3327256704a3bd23fe33
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date: Fri Mar 5 21:33:54 2010 +1100
[PlaybackControllerService] Clear the redo stack on shuffle mode change
Fixes bgo#528809
.../PlaybackControllerService.cs | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs b/src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs
index 20e3f52..4c8d212 100644
--- a/src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs
+++ b/src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs
@@ -483,6 +483,11 @@ namespace Banshee.PlaybackController
get { return shuffle_mode; }
set {
shuffle_mode = value;
+
+ // If the user changes the shuffle mode, she expects the "Next"
+ // button to behave according to the new selection. See bgo#528809
+ next_stack.Clear ();
+
var handler = ShuffleModeChanged;
if (handler != null) {
handler (this, new EventArgs<string> (shuffle_mode));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]