banshee r4873 - in trunk/banshee: . src/Libraries/Hyena.Gui/Hyena.Gui
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4873 - in trunk/banshee: . src/Libraries/Hyena.Gui/Hyena.Gui
- Date: Thu, 1 Jan 2009 22:03:28 +0000 (UTC)
Author: gburt
Date: Thu Jan 1 22:03:27 2009
New Revision: 4873
URL: http://svn.gnome.org/viewvc/banshee?rev=4873&view=rev
Log:
2009-01-01 Gabriel Burt <gabriel burt gmail com>
* src/Libraries/Hyena.Gui/Hyena.Gui/GtkUtilities.cs: Add both upper and
lowercase versions of file extensions to the file chooser filter, so that
my.MP3 will appear in the Local Files import dialog (BGO #566224).
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Gui/GtkUtilities.cs
Modified: trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Gui/GtkUtilities.cs
==============================================================================
--- trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Gui/GtkUtilities.cs (original)
+++ trunk/banshee/src/Libraries/Hyena.Gui/Hyena.Gui/GtkUtilities.cs Thu Jan 1 22:03:27 2009
@@ -71,7 +71,8 @@
FileFilter filter = new FileFilter ();
filter.Name = name;
foreach (string extension in extensions) {
- filter.AddPattern (String.Format ("*.{0}", extension));
+ filter.AddPattern (String.Format ("*.{0}", extension.ToLower ()));
+ filter.AddPattern (String.Format ("*.{0}", extension.ToUpper ()));
}
return filter;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]