banshee r5077 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui src/Libraries/Hyena.Gui/Hyena.Data.Gui



Author: gburt
Date: Fri Feb 27 00:15:47 2009
New Revision: 5077
URL: http://svn.gnome.org/viewvc/banshee?rev=5077&view=rev

Log:
2009-02-26  Gabriel Burt  <gabriel burt gmail com>

	* src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs:
	* src/Libraries/Hyena.Gui/Hyena.Data.Gui/IListView.cs:  Patch from
	Alexander Kojevnikov moving the focus to the list of songs when
	jumping (Ctrl-J) to the currently playing song (BGO #558940)

Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/PlaybackActions.cs
   trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/IListView.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	Fri Feb 27 00:15:47 2009
@@ -256,6 +256,7 @@
                         track_src.TrackModel.Selection.Select (i);
                         track_src.TrackModel.Selection.FocusedIndex = i;
                         track_list.CenterOn (i);
+                        track_list.GrabFocus ();
                     }
                 }
             }

Modified: trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/IListView.cs
==============================================================================
--- trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/IListView.cs	(original)
+++ trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/IListView.cs	Fri Feb 27 00:15:47 2009
@@ -35,6 +35,7 @@
         
         void ScrollTo (int index);
         void CenterOn (int index);
+        void GrabFocus ();
         ColumnController ColumnController { get; set; }
     }
     



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]