From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Gtk patch version 2, part 1 Date: Wed, 18 Dec 2002 07:40:18 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <928882C2-1253-11D7-BB79-00039363E640@swipnet.se> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v482) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1040193860 8925 80.91.224.249 (18 Dec 2002 06:44:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 18 Dec 2002 06:44:20 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18OXwI-0002Jh-00 for ; Wed, 18 Dec 2002 07:44:18 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18OXwo-0007li-00 for ; Wed, 18 Dec 2002 07:44:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18OXvn-0004DM-07 for emacs-devel@quimby.gnus.org; Wed, 18 Dec 2002 01:43:47 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18OXvF-000437-00 for emacs-devel@gnu.org; Wed, 18 Dec 2002 01:43:13 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18OXuR-0002si-00 for emacs-devel@gnu.org; Wed, 18 Dec 2002 01:42:24 -0500 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18OXtI-0002MC-00; Wed, 18 Dec 2002 01:41:12 -0500 Original-Received: from accessno42.bodenonline.com (IDENT:root@accessno42.bodenonline.com [193.201.16.44]) gBI7bM0U025849; Wed, 18 Dec 2002 08:37:23 +0100 Original-To: Miles Bader In-Reply-To: X-Mailer: Apple Mail (2.482) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10246 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10246 onsdagen den 18 december 2002 kl 02.08 skrev Miles Bader: > "Jan D." writes: >>> Hopefully a future version of emacs-gtk will allow overriding some of >>> the horrid GTK defaults... I'd like, at least: (1) menu font >> >> For 1) you can create a file ~/.gtkrc-2.0 and put into it something like: >> >> style "menubar" >> { >> font = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1" >> } >> widget_class "*GtkMenu*" style "menubar" > > I tried this, and it doesn't seem to work -- there's no error message, > but no change in the menubar font either. Here's the exact .gtkrc-2.0 > file I tried (as I mentioned in a previous message, I know it's > _reading_ the file, because syntax errors _do_ result in error messages): > > style "menubar" { font = "-adobe-helvetica-medium-r- > normal--10-*-*-*-*-*-iso8859-1" } > widget_class "*GtkMenu*" style "menubar" > > [minus the indentation, actually; I also tried variants like > `font = "Helvetica 10"', but none of them worked either] > > Any ideas? Well, I am currently out of ideas, because what you have is exactly what I have (but size 14 instead of 10), and it works here. Are you running Gnome 2? I am not. I told you I wasn't good at these files :-) I will read up on this and see what I can find. Jan D.