banshee r5017 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui



Author: blorentz
Date: Sun Feb  8 09:06:09 2009
New Revision: 5017
URL: http://svn.gnome.org/viewvc/banshee?rev=5017&view=rev

Log:
2009-02-08  Bertrand Lorentz  <bertrand lorentz gmail com>

	* src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs: Patch from
	John Millikin fixing the export of a playlist that was never browsed
	(BGO #570842).



Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs

Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs	(original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/SourceActions.cs	Sun Feb  8 09:06:09 2009
@@ -269,6 +269,7 @@
             if (source == null) {
                 return;
             }
+            source.Activate ();
 
             PlaylistExportDialog chooser = new PlaylistExportDialog (source.Name, PrimaryWindow);
 
@@ -292,7 +293,6 @@
                 SafeUri suri = new SafeUri (uri);
                 if (suri.IsLocalPath) {
                     playlist.BaseUri = new Uri (System.IO.Path.GetDirectoryName (suri.LocalPath));
-                    Console.WriteLine (playlist.BaseUri.LocalPath);
                 }
                 playlist.Save (Banshee.IO.File.OpenWrite (new SafeUri (uri), true), source);
             } catch (Exception e) {



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