Re: [Sawfish] Combobox and numbers.

[ Thread Index | Date Index | More lists.tuxfamily.org/sawfish Archives ]


On Thursday 08 September 2011 20:36:05 fuchur wrote:
> Hi,
> 
> If i make Combobox in theme.jl and i use numbers by :options it will
> not work.
> 
> This on will work.
> (defcustom mystyletab:test aaa "test"
> 
>   :group (appearance My-StyleTab:group)
>   :options (bbb aaa)
>   :type symbol)
> 
> But this one not.
> (defcustom mystyletab:test '20 "test"
> 
>   :group (appearance My-StyleTab:group)
>   :options (10 20)
>   :type symbol)
> 
> Any ideas?

Not really, but you shouldn't do '20, but plain 20 ('20 will make a symbol of 
name 20, not an integer of value 20).

Alternatively try 

(defcustom x val txt
:group grp
:type (choice value1 value2))

instead.

Chris

---
--
Sawfish ML


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/