banshee r4816 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs
- From: blorentz svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4816 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs
- Date: Sun, 9 Nov 2008 23:16:49 +0000 (UTC)
Author: blorentz
Date: Sun Nov 9 23:16:49 2008
New Revision: 4816
URL: http://svn.gnome.org/viewvc/banshee?rev=4816&view=rev
Log:
2008-11-10 Bertrand Lorentz <bertrand lorentz gmail com>
* src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/FileChooserDialog.cs:
Patch from Cosmin Banu to prevent a crash when importing a file from
recent items (BGO #559823).
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/FileChooserDialog.cs
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/FileChooserDialog.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/FileChooserDialog.cs (original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/FileChooserDialog.cs Sun Nov 9 23:16:49 2008
@@ -48,7 +48,10 @@
protected override void OnResponse (ResponseType response)
{
base.OnResponse (response);
- LastFileChooserUri.Set (CurrentFolderUri);
+
+ if (CurrentFolderUri != null) {
+ LastFileChooserUri.Set (CurrentFolderUri);
+ }
}
public static readonly SchemaEntry<string> LastFileChooserUri = new SchemaEntry<string> (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]