banshee r4224 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Sources.Gui
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4224 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Sources.Gui
- Date: Sun, 20 Jul 2008 18:16:19 +0000 (UTC)
Author: gburt
Date: Sun Jul 20 18:16:18 2008
New Revision: 4224
URL: http://svn.gnome.org/viewvc/banshee?rev=4224&view=rev
Log:
2008-07-20 Gabriel Burt <gabriel burt gmail com>
* src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs:
Add comments.
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs (original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs Sun Jul 20 18:16:18 2008
@@ -293,9 +293,10 @@
protected virtual void OnBrowserViewSelectionChanged (object o, EventArgs args)
{
+ // If the All item is now selected, scroll to the top
Hyena.Collections.Selection selection = (Hyena.Collections.Selection) o;
-
if (selection.AllSelected) {
+ // Find the view associated with this selection; a bit yuck; pass view in args?
foreach (IListView view in filter_views) {
if (view.Selection == selection) {
view.ScrollTo (0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]