[Epiphany] storing full paths in configuration (fwd)



 


 ----------Forwarded message ----------
Return-path: <desktop-devel-list-admin@gnome.org>
Delivery-date: Wed, 07 May 2003 18:46:06 -0400
Received: from moniker.gnome.org ([209.116.70.73] helo=mail.gnome.org)
   by sys02.mail.msu.edu with esmtp (Exim 4.10 #3)
   id 19DXfq-0008f6-00
   for bordoley@pilot.msu.edu; Wed, 07 May 2003 18:46:06 -0400
Received: from moniker.gnome.org (moniker.gnome.org [127.0.0.1])
   by mail.gnome.org (Postfix) with ESMTP
   id C42B2180DD; Wed,  7 May 2003 18:46:05 -0400 (EDT)
Delivered-To: desktop-devel-list@gnome.org
Received: from devserv.devel.redhat.com (nat-pool-rdu.redhat.com 
[66.187.233.200])
   by mail.gnome.org (Postfix) with ESMTP id 6F71B180DD
   for <desktop-devel-list@gnome.org>; Wed,  7 May 2003 18:45:08 -0400 (EDT)
Received: (from hp@localhost)
   by devserv.devel.redhat.com (8.11.6/8.11.0) id h47Mj6p21186
   for desktop-devel-list@gnome.org; Wed, 7 May 2003 18:45:06 -0400
From: Havoc Pennington <hp@redhat.com>
To: desktop-devel-list@gnome.org
Subject: storing full paths in configuration
Message-ID: <20030507184505.G4360@devserv.devel.redhat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5.1i
Sender: desktop-devel-list-admin@gnome.org
Errors-To: desktop-devel-list-admin@gnome.org
X-BeenThere: desktop-devel-list@gnome.org
X-Loop: desktop-devel-list@gnome.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Help: <mailto:desktop-devel-list-request@gnome.org?subject=help>
List-Post: <mailto:desktop-devel-list@gnome.org>
List-Subscribe: <http://mail.gnome.org/mailman/listinfo/desktop-devel-list>,
   <mailto:desktop-devel-list-request@gnome.org?subject=subscribe>
List-Id: GNOME Desktop Development List <desktop-devel-list.gnome.org>
List-Unsubscribe: 
<http://mail.gnome.org/mailman/listinfo/desktop-devel-list>,
   <mailto:desktop-devel-list-request@gnome.org?subject=unsubscribe>
List-Archive: <http://mail.gnome.org/archives/desktop-devel-list/>
Date: Wed, 7 May 2003 18:45:06 -0400 

Hi, 

It's a bad idea to put the full path to the user's homedir in
configuration files, because the user may use the same homedir
with multiple machines (different nfs mountpoints etc) 

A quick grep of gconftool-2 -R / reveals: 

 /apps/gthumb/general:
   startup_location =
   catalog:///home/devel/hp/.gnome2/gthumb/collections/Command Line.gqv 

 /apps/gnomechat/identity:
   photo = /home/devel/hp/.gnome/photo 

 /apps/epiphany/directories:
   downloading = /home/devel/hp 

 /apps/panel/profiles/default/objects/0t1042494582ut679501u2379p8004r1608175 
216k3221218252:
   launcher_location = 
file:///home/devel/hp/.gnome2/panel2.d/default/launchers/hammer-001ea70be8.d 
esktop 

Also rumor has it that Evolution does this. 

It would be better to store ~ and then expand it on demand. 

This is the kind of thing that should really be in some kind of test
plan for each GNOME release. 

Havoc
_______________________________________________
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list 




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