[banshee] [Banshee.Moblin] handle # past items changed
- From: Gabriel Burt <gburt src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [Banshee.Moblin] handle # past items changed
- Date: Thu, 15 Oct 2009 05:51:06 +0000 (UTC)
commit 3e3320531ed97c4e2861c07f29946d90bc53c85b
Author: Gabriel Burt <gabriel burt gmail com>
Date: Wed Oct 14 22:45:38 2009 -0700
[Banshee.Moblin] handle # past items changed
.../Banshee.Moblin/Banshee.Moblin/PlayQueueBox.cs | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/Extensions/Banshee.Moblin/Banshee.Moblin/PlayQueueBox.cs b/src/Extensions/Banshee.Moblin/Banshee.Moblin/PlayQueueBox.cs
index 2fd9560..91e3684 100644
--- a/src/Extensions/Banshee.Moblin/Banshee.Moblin/PlayQueueBox.cs
+++ b/src/Extensions/Banshee.Moblin/Banshee.Moblin/PlayQueueBox.cs
@@ -86,7 +86,10 @@ namespace Banshee.Moblin
if (MoblinPanel.Instance.ToolbarPanel != null) {
int old_pref = play_queue.PlayedSongsPreference.Value;
- MoblinPanel.Instance.ToolbarPanel.ShowBeginEvent += (o, a) => play_queue.PlayedSongsPreference.Value = 2;
+ MoblinPanel.Instance.ToolbarPanel.ShowBeginEvent += (o, a) => {
+ old_pref = play_queue.PlayedSongsPreference.Value;
+ play_queue.PlayedSongsPreference.Value = 2;
+ };
MoblinPanel.Instance.ToolbarPanel.HideBeginEvent += (o, a) => play_queue.PlayedSongsPreference.Value = old_pref;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]