banshee r3958 - in trunk/banshee: . src/Core/Banshee.ThickClient src/Core/Banshee.ThickClient/Banshee.Collection.Gui src/Core/Banshee.ThickClient/Banshee.Sources.Gui src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView



Author: gburt
Date: Thu May 22 18:21:50 2008
New Revision: 3958
URL: http://svn.gnome.org/viewvc/banshee?rev=3958&view=rev

Log:
2008-05-22  Gabriel Burt  <gabriel burt gmail com>

	* src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSourceContents.cs:
	* src/Core/Banshee.ThickClient/Banshee.ThickClient.mdp:
	* src/Core/Banshee.ThickClient/Makefile.am:
	* src/Core/Banshee.ThickClient/Banshee.Sources.Gui/ListBrowserSourceContents.cs:
	* src/Core/Banshee.ThickClient/Banshee.Sources.Gui/CompositeTrackSourceContents.cs:
	* src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs:
	* src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSourceContents.cs:
	Rename ListBrowserSourceContents to FilteredListSourceContents.

	* src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellDuration.cs:
	Right align durations.

	* src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs:
	Avoid passing null string to gtk.


Added:
   trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs   (contents, props changed)
      - copied, changed from r3955, /trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/ListBrowserSourceContents.cs
Removed:
   trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/ListBrowserSourceContents.cs
Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellDuration.cs
   trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/CompositeTrackSourceContents.cs
   trunk/banshee/src/Core/Banshee.ThickClient/Banshee.ThickClient.mdp
   trunk/banshee/src/Core/Banshee.ThickClient/Makefile.am
   trunk/banshee/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSourceContents.cs
   trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs

Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellDuration.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellDuration.cs	(original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellDuration.cs	Thu May 22 18:21:50 2008
@@ -36,6 +36,7 @@
     {
         public ColumnCellDuration (string property, bool expand) : base (property, expand)
         {
+            Alignment = Pango.Alignment.Right;
         }
         
         protected override string Text {

Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/CompositeTrackSourceContents.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/CompositeTrackSourceContents.cs	(original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/CompositeTrackSourceContents.cs	Thu May 22 18:21:50 2008
@@ -47,7 +47,7 @@
 
 namespace Banshee.Sources.Gui
 {
-    public class CompositeTrackSourceContents : ListBrowserSourceContents, ITrackModelSourceContents
+    public class CompositeTrackSourceContents : FilteredListSourceContents, ITrackModelSourceContents
     {
         private ArtistListView artist_view;
         private AlbumListView album_view;

Copied: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs (from r3955, /trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/ListBrowserSourceContents.cs)
==============================================================================
--- /trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/ListBrowserSourceContents.cs	(original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs	Thu May 22 18:21:50 2008
@@ -50,7 +50,7 @@
 
 namespace Banshee.Sources.Gui
 {
-    public abstract class ListBrowserSourceContents : VBox, ISourceContents
+    public abstract class FilteredListSourceContents : VBox, ISourceContents
     {
         private object main_view;
         private Gtk.ScrolledWindow main_scrolled_window;
@@ -81,7 +81,7 @@
             </ui>
         ";
 
-        public ListBrowserSourceContents ()
+        public FilteredListSourceContents ()
         {
             InitializeViews ();
         

Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.ThickClient.mdp
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.ThickClient.mdp	(original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.ThickClient.mdp	Thu May 22 18:21:50 2008
@@ -111,7 +111,7 @@
     <File name="Banshee.Sources.Gui/SourceComboBox.cs" subtype="Code" buildaction="Compile" />
     <File name="Banshee.Collection.Gui/TrackFilterListView.cs" subtype="Code" buildaction="Compile" />
     <File name="Banshee.Collection.Gui/ColumnCellFileSize.cs" subtype="Code" buildaction="Compile" />
-    <File name="Banshee.Sources.Gui/ListBrowserSourceContents.cs" subtype="Code" buildaction="Compile" />
+    <File name="Banshee.Sources.Gui/FilteredListSourceContents.cs" subtype="Code" buildaction="Compile" />
     <File name="Banshee.Collection.Gui/DefaultColumnController.cs" subtype="Code" buildaction="Compile" />
     <File name="Banshee.Collection.Gui/XmlColumnController.cs" subtype="Code" buildaction="Compile" />
   </Contents>

Modified: trunk/banshee/src/Core/Banshee.ThickClient/Makefile.am
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Makefile.am	(original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Makefile.am	Thu May 22 18:21:50 2008
@@ -94,9 +94,9 @@
 	Banshee.SmartPlaylist.Gui/Editor.cs \
 	Banshee.Sources.Gui/CellEditEntry.cs \
 	Banshee.Sources.Gui/CompositeTrackSourceContents.cs \
+	Banshee.Sources.Gui/FilteredListSourceContents.cs \
 	Banshee.Sources.Gui/ISourceContents.cs \
 	Banshee.Sources.Gui/ITrackModelSourceContents.cs \
-	Banshee.Sources.Gui/ListBrowserSourceContents.cs \
 	Banshee.Sources.Gui/ObjectListSourceContents.cs \
 	Banshee.Sources.Gui/SourceComboBox.cs \
 	Banshee.Sources.Gui/SourceIconResolver.cs \

Modified: trunk/banshee/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSourceContents.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSourceContents.cs	(original)
+++ trunk/banshee/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/PodcastManager/Source/PodcastSourceContents.cs	Thu May 22 18:21:50 2008
@@ -51,7 +51,7 @@
 
 namespace Banshee.Podcasting.Gui
 {
-    public class PodcastSourceContents : ListBrowserSourceContents
+    public class PodcastSourceContents : FilteredListSourceContents
     {
         private PodcastItemView track_view;
         private PodcastFeedView feed_view;

Modified: trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs
==============================================================================
--- trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs	(original)
+++ trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Header.cs	Thu May 22 18:21:50 2008
@@ -431,7 +431,7 @@
             private Column column;
             private bool ready = false;
             
-            public ColumnToggleMenuItem (Column column) : base (column.Title)
+            public ColumnToggleMenuItem (Column column) : base (column.Title ?? String.Empty)
             {
                 this.column = column;
                 Active = column.Visible; 



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