From db2ddfe0b9f2bdefa2a67a54164c826d525a51bc Mon Sep 17 00:00:00 2001 From: "N.N." Date: Wed, 17 Jun 2009 21:14:22 +0000 Subject: another attempt at making colour presets better on osx svn path=/trunk/; revision=11797 --- desiredata/src/desire.tk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'desiredata') diff --git a/desiredata/src/desire.tk b/desiredata/src/desire.tk index 38297a2d..c0277f4c 100644 --- a/desiredata/src/desire.tk +++ b/desiredata/src/desire.tk @@ -7674,9 +7674,8 @@ def Dialogue color_popup {frame var i} { pack [frame $w.$i -bd 0 -bg "#000000"] for {set j 0} {$j<10} {incr j} { set c [lindex $::preset_colors [expr {$i*10+$j}]] - pack [button $w.$i.$j -image icon_empty -width 24 -height 24 \ - -background "#$c" -highlightbackground "#$c" -activebackground "#$c" \ - -command [list $self color_popup_select $frame $var [expr 0x$c]] -padx 0 -pady 0] -side left + pack [frame $w.$i.$j -width 24 -height 24 -background "#$c" -relief raised] -side left + bind $w.$i.$j [list $self color_popup_select $frame $var [expr 0x$c]] } } } -- cgit v1.2.1