Date: Sat, 17 Apr 2004 14:17:37 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Alexander Kabaev <kan@FreeBSD.org> Cc: FreeBSD GNOME Users <gnome@FreeBSD.org> Subject: Re: Unbreak GTK12 look under GNOME2 and KDE3 Message-ID: <1082225857.21630.2.camel@shumai.marcuscom.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1082225857.21630.2.camel>