From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: Changing the no-toolkit scrollbar thumb color. (minor issue) Date: Sun, 28 Sep 2003 21:17:07 +0000 (UTC) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <391328C4-F1D2-11D7-BE88-00039363E640@swipnet.se> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1064784759 9178 80.91.224.253 (28 Sep 2003 21:32:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 28 Sep 2003 21:32:39 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Sep 28 23:32:37 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 1A3j9h-0000dZ-00 for ; Sun, 28 Sep 2003 23:32:37 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A3j9h-000817-00 for ; Sun, 28 Sep 2003 23:32:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A3j8g-0007s2-UX for emacs-devel@quimby.gnus.org; Sun, 28 Sep 2003 17:31:34 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A3j11-0005fr-UO for emacs-devel@gnu.org; Sun, 28 Sep 2003 17:23:39 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A3iwJ-0003Hz-L4 for emacs-devel@gnu.org; Sun, 28 Sep 2003 17:18:48 -0400 Original-Received: from [140.186.114.245] (helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A3iuv-0002JH-Qn for emacs-devel@gnu.org; Sun, 28 Sep 2003 17:17:22 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.114) Sun, 28 Sep 2003 21:17:07 +0000 (UTC) Original-To: "Jan D." In-reply-to: <391328C4-F1D2-11D7-BE88-00039363E640@swipnet.se> (jan.h.d@swipnet.se) 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:16735 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16735 Yes it should and I am sure it can be improved. But I need to know why it failed for you. Can you mail some of the attempts you tried? In both ~/.emacs.d/gtkrc and ~/.gtkrc-2.0, I tried style "dark_bg_scrollbar_style" { bg[NORMAL] = "green" fg[NORMAL] = "red" } widget_class "*Emacs.pane.emacs.verticalScrollbar*" style "dark_bg_scrollbar_style" and style "dark_bg_scrollbar_style" { bg[ACTIVE] = "green" fg[ACTIVE] = "red" } widget_class "*verticalScrollbar*" style "dark_bg_scrollbar_style" and the same with `widget' substituting for `widget_class', and without `*', and with the long and short names for both {widget|widget_class}. (I made a lot of attempts.) (Obviously, green and red are not good colors, but they would stand out when I reran a new instance of Emacs). I based these attempts on a working entry for style "menufont". Emacs faces does not go well with that. We can add more to the documentation about the restrictions, I guess. Yes, please add more to the documentation. Also, please be sure to add to the customize command, since many people will use it without reading the documentation. -- Robert J. Chassell Rattlesnake Enterprises http://www.rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.teak.cc bob@rattlesnake.com