banshee r2883 - in trunk/banshee: . src/Core/Banshee.Core/Banshee.Collection src/Core/Banshee.Services/Banshee.Collection.Database src/Core/Banshee.Services/Banshee.Database src/Core/Banshee.Services/Banshee.Sources src/Core/Banshee.ThickClient/Banshee.Collection.Gui src/Core/Banshee.ThickClient/Banshee.Gui src/Core/Banshee.ThickClient/Resources src/Core/Hyena src/Core/Hyena/Hyena.Collections src/Core/Hyena/Hyena.Data src/Core/Hyena.Gui/Hyena.Data.Gui
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r2883 - in trunk/banshee: . src/Core/Banshee.Core/Banshee.Collection src/Core/Banshee.Services/Banshee.Collection.Database src/Core/Banshee.Services/Banshee.Database src/Core/Banshee.Services/Banshee.Sources src/Core/Banshee.ThickClient/Banshee.Collection.Gui src/Core/Banshee.ThickClient/Banshee.Gui src/Core/Banshee.ThickClient/Resources src/Core/Hyena src/Core/Hyena/Hyena.Collections src/Core/Hyena/Hyena.Data src/Core/Hyena.Gui/Hyena.Data.Gui
- Date: Thu, 13 Dec 2007 20:49:19 +0000 (GMT)
Author: gburt
Date: 2007-12-13 20:49:18 +0000 (Thu, 13 Dec 2007)
New Revision: 2883
ViewCVS link: http://svn.gnome.org/viewcvs/banshee?rev=2883&view=rev
Removed:
trunk/banshee/src/Core/Hyena/Hyena.Data/ListItemSetup.cs
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.Core/Banshee.Collection/AlbumInfo.cs
trunk/banshee/src/Core/Banshee.Core/Banshee.Collection/ArtistInfo.cs
trunk/banshee/src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs
trunk/banshee/src/Core/Banshee.Services/Banshee.Collection.Database/LibraryTrackInfo.cs
trunk/banshee/src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs
trunk/banshee/src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs
trunk/banshee/src/Core/Banshee.Services/Banshee.Sources/ErrorSource.cs
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/AlbumListView.cs
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtistListView.cs
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellAlbum.cs
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellDuration.cs
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellPlaybackIndicator.cs
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs
trunk/banshee/src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml
trunk/banshee/src/Core/Hyena.Gui/Hyena.Data.Gui/Column.cs
trunk/banshee/src/Core/Hyena.Gui/Hyena.Data.Gui/ColumnCell.cs
trunk/banshee/src/Core/Hyena.Gui/Hyena.Data.Gui/ColumnCellText.cs
trunk/banshee/src/Core/Hyena.Gui/Hyena.Data.Gui/ColumnController.cs
trunk/banshee/src/Core/Hyena.Gui/Hyena.Data.Gui/ColumnHeaderCellText.cs
trunk/banshee/src/Core/Hyena.Gui/Hyena.Data.Gui/ListView.cs
trunk/banshee/src/Core/Hyena.Gui/Hyena.Data.Gui/ObjectListView.cs
trunk/banshee/src/Core/Hyena/Hyena.Collections/Selection.cs
trunk/banshee/src/Core/Hyena/Hyena.Data/ColumnDescription.cs
trunk/banshee/src/Core/Hyena/Makefile.am
Log:
2007-12-13 Gabriel Burt <gabriel burt gmail com>
This patch changes the way objects are bound to the ListViews, removing
the FieldIndex attributes, instead passing a property name (or null to
return the object itself) instead. SelectAll/None actions are added.
Commented out code for the rest of the TrackInfo columns also added.
* src/Core/Banshee.Services/Banshee.Collection.Database/LibraryTrackInfo.cs:
Load PlayCount, SkipCount, LastPlayed, and DateAdded when loading the
track from the database.
* src/Core/Banshee.Services/Banshee.Collection.Database/TrackListDatabaseModel.cs:
Handle sorting on Year, Duration, Rating, PlayCount, SkipCount,
LastPlayed, DateAdded, and RelativeUri.
* src/Core/Banshee.Services/Banshee.Database/BansheeDbFormatMigrator.cs:
Fix error in our migration - we had DateAdded and LastPlayed swapped.
* src/Core/Hyena.Gui/Hyena.Data.Gui/Column.cs:
* src/Core/Banshee.Services/Banshee.Sources/ErrorSource.cs:
* src/Core/Banshee.ThickClient/Banshee.Collection.Gui/AlbumListView.cs:
* src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtistListView.cs:
* src/Core/Banshee.ThickClient/Banshee.Collection.Gui/TrackListView.cs:
Use property names instead of FieldIndexes.
* src/Core/Hyena.Gui/Hyena.Data.Gui/ColumnCellText.cs:
* src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellAlbum.cs:
* src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellDuration.cs:
* src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellPlaybackIndicator.cs:
* src/Core/Hyena.Gui/Hyena.Data.Gui/ColumnHeaderCellText.cs:
Change ctors to use property name string instead of FieldIndex.
* src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs: Fix typo.
* src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs:
* src/Core/Banshee.ThickClient/Resources/core-ui-actions-layout.xml: Add
SelectAll/SelectNone actions.
* src/Core/Hyena.Gui/Hyena.Data.Gui/ColumnCell.cs: In BindListItem use
the property name to get the PropertyInfo object instead of iterating
over all properites looking for the right one.
* src/Core/Hyena.Gui/Hyena.Data.Gui/ObjectListView.cs:
* src/Core/Hyena.Gui/Hyena.Data.Gui/ColumnController.cs: Change Append to
Add and add AddRange method.
* src/Core/Hyena.Gui/Hyena.Data.Gui/ListView.cs: Move the
SelectAll/SelectNone handler inside the OnKeyPress method. Invalidate
the ListWindow whenever the selection is changed.
* src/Core/Hyena/Hyena.Collections/Selection.cs: Add SelectAll method and
change MaxIndex to actually represent the max index, not the max size.
* src/Core/Hyena/Hyena.Data/ColumnDescription.cs: Instead of using a
FieldIndex specified by the ListItemSetup attribute, use a string that
gives the name of the property to get the column's value from.
* src/Core/Banshee.Core/Banshee.Collection/AlbumInfo.cs:
* src/Core/Banshee.Core/Banshee.Collection/ArtistInfo.cs:
* src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs:
* src/Core/Hyena/Hyena.Data/ListItemSetup.cs:
* src/Core/Hyena/Makefile.am: Remove ListItemSetup.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]