From owner-freebsd-gnome@FreeBSD.ORG Sat Apr 17 11:17:46 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F191E16A4CE; Sat, 17 Apr 2004 11:17:45 -0700 (PDT) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 377D943D48; Sat, 17 Apr 2004 11:17:45 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) i3HIH5Qx062537; Sat, 17 Apr 2004 14:17:05 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Alexander Kabaev In-Reply-To: <20040417133505.GA8460@freefall.freebsd.org> References: <20040416045304.GA1417@freefall.freebsd.org> <1082188118.58902.12.camel@shumai.marcuscom.com> <20040417133505.GA8460@freefall.freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-L4i3ErQg6Tbyjc28OOYb" Organization: MarcusCom, Inc. Message-Id: <1082225857.21630.2.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sat, 17 Apr 2004 14:17:37 -0400 cc: FreeBSD GNOME Users Subject: Re: Unbreak GTK12 look under GNOME2 and KDE3 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 18:17:46 -0000 --=-L4i3ErQg6Tbyjc28OOYb Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2004-04-17 at 09:35, Alexander Kabaev wrote: > On Sat, Apr 17, 2004 at 03:48:39AM -0400, Joe Marcus Clarke wrote: > > On Fri, 2004-04-16 at 00:53, Alexander Kabaev wrote: > > > Attached patch-gtk::gtkrc.c file replaces existing patch-ad file in > > > gtk12/files directory. In addition to patch-ad changes, this file mak= es > > > gtk to _always_ prepend default gtk config file to the list of files, > > > supplied by environment. /usr/X11R6/share/themes/Default/gtk/gtkrc > > > provides sane defaults and makes gtk12 default font to be of normal s= ize > > > again. > > >=20 > > > Consider committing it to the port, please. > >=20 > > What about something slightly different. What if we test for the > > existence of each file in $GTK_RC_FILES, and only add the default paths > > if that none of the files listed in that variable exist (or rather can > > be stat'd). See the attached (runtime untested) patch. > >=20 > > I think this might be more true to the spirit of original code. > >=20 > > Joe > >=20 > All the files in the list except the first one only supply overrides > to default values, set in the first file. Apparently, Linux distributions > expect this file to live in /etc/gtk/gtkrc. Doing what you suggest is lit= tle > too true to the spirit of original code, as it does not solve anything an= d > does not fix anything. Neither Gnome nor KDE set default fonts in files > they write out. Committed. Joe >=20 > Alternatively, we could hunt down all the /etc/gtk/gtkrc lovers in the=20 > tree and patch them to point to the right file instead, but I would still > prefer the big hammer solution proposed with my original patch. > -- > Alexander Kabaev --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-L4i3ErQg6Tbyjc28OOYb Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAgXTBb2iPiv4Uz4cRAucBAJ46zBhTKOkBeiS0RaIDB/9nyiAWxwCdENf8 1HkBjDi4f+rZwHsASxC3UhE= =iNtp -----END PGP SIGNATURE----- --=-L4i3ErQg6Tbyjc28OOYb--