Re: Filenames, escaping, and GtkFileSystem
- From: "J. Ali Harlow" <ali juiblex co uk>
- To: Federico Mena Quintero <federico ximian com>
- Cc: GTK+ development mailing list <gtk-devel-list gnome org>, GNOME Desktop <desktop-devel-list gnome org>
- Subject: Re: Filenames, escaping, and GtkFileSystem
- Date: Thu, 25 Mar 2004 03:39:13 +0000
On 2004.03.24 21:55 Federico Mena Quintero wrote:
There are a few things we can do:
1. Specify that GtkFileSystem::make_path() should fail if the filename
has path components. In the context of GtkFileChooser, this would
eventually bring up an error message box, very similar to the one
Nautilus uses when you rename a file and try to put a slash in the name.
2. Specify that GtkFileSystem::make_path() must escape the filename,
thus allowing any characters to appear in it, *and* then unescaping
filenames when reading them from the file system. This would make it
possible to have file names like "Report from the engineering/marketing
teams" above. If we do this, we should modify Nautilus as well.
Microsoft was rightly criticised for encouraging people to put spaces in
their filenames. Let's not make the same mistake. '/' is a seperator.
Let people find their own workarounds if they feel the need to have
something slash like in their filenames.
Cheers,
--
J. Ali Harlow
ali juiblex co uk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]