Re: [PATCH] "Fixup" smb:/// entries



Am Montag, den 25.12.2006, 02:12 +0100 schrieb Christian Neumair:
> The attached patch is a crude hack (like most of smb:///) to "fix" the
> issue that Nautilus messes up MIME types of smb://(/) contents all the
> time (thus flipping directory and launcher MIME types), by constructing
> separate "smb:///foo.desktop" and "smb://foo" entries. At the moment, I
> think the issue is that Nautilus/GnomeVFS use some textual mechanism for
> comparing URIs that ignores subsequent slashes, not realizing that
> smb:///foo and smb://foo are different entities, and goes crazy when
> trying to follow a link pointing to itself, pretending to be both a
> directory and a launcher.
> 
> We don't really have a concept when "proto://" and "proto:///" are
> considered identical, IIRC some modules even convert the URI to string
> and skip these slashes in its handlers. From a user perspective, having
> a root URI and a separate host construction seems unintuitive, so this
> might actually be the more "correct" route.
> 
> Hopefully fixes http://bugzilla.gnome.org/show_bug.cgi?id=356093

Eww sorry, please let me rethink this one. It's getting late, and I
heard to much Jazz. I probably identified the cause of the issue
correctly, but the patch breaks the file info name, at least for work
group/server links.

-- 
Christian Neumair <chris gnome-de org>




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