Re: themes and customization



Hi,

On Aug 31, 2004, at 2:21 AM, Andreas Büsching wrote:
I just ran into same trouble when adding some custom variables to my sawfish theme. I've attached the lisp of my theme in hope that someone can tell me what I'm doing wrong.

I think the problem is that you're embedding the values of the custom variables into the theme definition (using the , operator)

the way to avoid that is to embed functions into the theme definition that return the current value of the variable

e.g. try replacing something like:

     (left-edge . ,(- gex:border-width))

with:
	(left-edge . ,(lambda () (- gex:border-width)))

hope that helps,

	John




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]