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: Changing the no-toolkit scrollbar thumb color. (minor issue) Date: Sun, 12 Oct 2003 17:04:46 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3F896D8E.5010806@swipnet.se> References: <87fzijz4th.fsf@raven.i.defaultvalue.org> <200309262123.h8QLNNi07638@raven.dms.auburn.edu> <200309272155.h8RLttv09524@raven.dms.auburn.edu> <200309281642.h8SGgxc11119@raven.dms.auburn.edu> <200309281801.h8SI1gV11332@raven.dms.auburn.edu> <200309300011.h8U0B6021222@raven.dms.auburn.edu> <3F7F1343.2020208@swipnet.se> <200310051756.h95Hunq22538@raven.dms.auburn.edu> <200310060415.h964FMD23760@raven.dms.auburn.edu> <200310060434.h964Y6023782@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1065971268 6879 80.91.224.253 (12 Oct 2003 15:07:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Oct 2003 15:07:48 +0000 (UTC) Cc: bob@rattlesnake.com, miles@gnu.org, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Oct 12 17:07:46 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A8how-00029w-00 for ; Sun, 12 Oct 2003 17:07:46 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A8hov-0001qi-00 for ; Sun, 12 Oct 2003 17:07:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A8hny-00015y-ED for emacs-devel@quimby.gnus.org; Sun, 12 Oct 2003 11:06:46 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A8hnt-00013u-Bz for emacs-devel@gnu.org; Sun, 12 Oct 2003 11:06:41 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A8hnN-0000wn-IP for emacs-devel@gnu.org; Sun, 12 Oct 2003 11:06:40 -0400 Original-Received: from [193.201.16.94] (helo=stubby.bodenonline.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A8hnK-0000vY-Jn; Sun, 12 Oct 2003 11:06:06 -0400 Original-Received: from accessno42.bodenonline.com (accessno42.bodenonline.com [193.201.16.44]) by stubby.bodenonline.com (8.12.1/8.12.1) with ESMTP id h9CFnbmh031199; Sun, 12 Oct 2003 17:49:37 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en Original-To: Luc Teirlinck In-Reply-To: <200310060434.h964Y6023782@raven.dms.auburn.edu> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17041 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17041 Luc Teirlinck wrote: > My previous message assumed that styles get "merged" like faces in > Emacs (and hence the pixmaps of the theme would still override the > user specified colors, unless first set to ""). I could not > quite figure out from (emacs)GTK styles whether this is the case or > not, but maybe I did not read it well enough. It is, but that assumes the pixmaps has been set by things like bg_pixmap[NORMAL] = ... In most cases, themes set pixmaps by defining "engines". This is a mechanism that seems to be unaffected by any other cutomizations (I don't know if an engine can be redefined in another file). I don't know how to define engines, and the documentation for it is very poor. But you can see examples in your gnome distribution in the themes files under prefix/share/themes/*/gtkrc-2.0/gtkrc. Jan D.