Re: [Usability] New "Add to panel" dialog



On Sat, 2005-10-29 at 19:42 -0400, Jason Hoover wrote:
> Why does gnome have so many URI's?
> 
> Hmm, we have;

Test case:

gnomevfs-ls file:///
bin             (Directory, x-directory/normal) size 4096       mode 0755
boot            (Directory, x-directory/normal) size 1024       mode 0755
...

gnomevfs-ls themes:///
Clearlooks              (Regular, application/x-gnome-theme-installed)  size 2909       mode 0644
Crux            (Regular, application/x-gnome-theme-installed)  size 5415      mode 0644

> start-here://

$ gnomevfs-ls start-here:///
Error opening: Invalid URI

> server-settings://

$ gnomevfs-ls server-settings:///
Error opening: Invalid URI

> system-settings://

$ gnomevfs-ls system-settings:///
Error opening: Invalid URI

> trash://

$ gnomevfs-ls trash:///
Error opening: Invalid URI

> applications://

$ gnomevfs-ls applications:///
Error opening: Invalid URI

> prefrences://

$ gnomevfs-ls preferences:///
Error opening: Invalid URI

> Aren't some of these kind of redundant? Couldn't a few of them simply be
> consolidated into say; gnome:// (eg: gnome://server-settings/
> gnome://system-settings/)? After all, a good number of them do the exact
> same thing just with different locations (sans trash).
>
> It'd reduce the number of handlers needed for one, and possibly make
> other things a little cleaner and more expandable. Or am I simply being
> minimalistic and silly?

In previous version of GNOME as they were all the same handler with
different root's I'd guess there was no duplication as such.  However in
my G2.12 install (and 2.10 as well IIRC) applications:/// and related
URIs have been removed.

/etc/gnome-vfs-2.0/modules/ lists the default URI schemes available, and
very few of them are virtual now.

Ross
-- 
Ross Burton                                 mail: ross burtonini com
                                          jabber: ross burtonini com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF





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