banshee r4271 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4271 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui
- Date: Mon, 28 Jul 2008 01:39:20 +0000 (UTC)
Author: gburt
Date: Mon Jul 28 01:39:19 2008
New Revision: 4271
URL: http://svn.gnome.org/viewvc/banshee?rev=4271&view=rev
Log:
2008-07-27 Gabriel Burt <gabriel burt gmail com>
* src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs: Remove cruft.
* src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs: Set the
focus index as well as the selection when jumping to current song (BGO
#538227).
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs (original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs Mon Jul 28 01:39:19 2008
@@ -245,6 +245,7 @@
ServiceManager.SourceManager.SetActiveSource (src);
track_src.TrackModel.Selection.Clear (false);
track_src.TrackModel.Selection.Select (i);
+ track_src.TrackModel.Selection.FocusedIndex = i;
track_list.CenterOn (i);
}
}
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs (original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs Mon Jul 28 01:39:19 2008
@@ -111,10 +111,6 @@
new ActionEntry ("SearchForSameArtistAction", null,
Catalog.GetString ("By Matching A_rtist"), null,
Catalog.GetString ("Search all songs of this artist"), OnSearchForSameArtist),
-
- //new ActionEntry ("JumpToPlayingTrackAction", null,
- // Catalog.GetString ("_Jump to playing song"), "<control>J",
- // null, OnJumpToPlayingTrack),
});
Actions.UIManager.ActionsChanged += HandleActionsChanged;
@@ -416,10 +412,6 @@
}
}
- /*private void OnJumpToPlayingTrack (object o, EventArgs args)
- {
- }*/
-
#endregion
private static bool ConfirmRemove (ITrackModelSource source, bool delete, int selCount)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]