banshee r5004 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Playlist.Gui
- From: blorentz svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r5004 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Playlist.Gui
- Date: Tue, 3 Feb 2009 21:13:39 +0000 (UTC)
Author: blorentz
Date: Tue Feb 3 21:13:39 2009
New Revision: 5004
URL: http://svn.gnome.org/viewvc/banshee?rev=5004&view=rev
Log:
2009-02-03 Bertrand Lorentz <bertrand lorentz gmail com>
* src/Core/Banshee.ThickClient/Banshee.Playlist.Gui/PlaylistExportDialog.cs:
Patch from John Millikin to escape the suggested filename when exporting
a playlist (BGO #457390).
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Playlist.Gui/PlaylistExportDialog.cs
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Playlist.Gui/PlaylistExportDialog.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Playlist.Gui/PlaylistExportDialog.cs (original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Playlist.Gui/PlaylistExportDialog.cs Tue Feb 3 21:13:39 2009
@@ -3,6 +3,7 @@
using Mono.Unix;
using Gtk;
+using Banshee.Base;
using Banshee.Widgets;
using Banshee.Playlists.Formats;
@@ -18,7 +19,7 @@
public PlaylistExportDialog(string name, Window parent) :
base(Catalog.GetString("Export Playlist"), parent, FileChooserAction.Save)
{
- initial_name = name;
+ initial_name = FileNamePattern.Escape (name);
playlist = PlaylistFileUtil.GetDefaultExportFormat();
CurrentName = System.IO.Path.ChangeExtension(initial_name, playlist.FileExtension);
DefaultResponse = ResponseType.Ok;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]