changed: #buttonPress:x:y:
authorClaus Gittinger <cg@exept.de>
Wed, 28 Mar 2012 13:14:44 +0200
changeset 4412 f162cf0124c2
parent 4411 24a09ea995e2
child 4413 1c3519b08bcf
changed: #buttonPress:x:y: by default, click does not take the focus
ButtonController.st
--- a/ButtonController.st	Sat Mar 24 20:04:56 2012 +0100
+++ b/ButtonController.st	Wed Mar 28 13:14:44 2012 +0200
@@ -443,7 +443,7 @@
         ^ super buttonPress:button x:x y:y
     ].
 
-    (view styleSheet at:#'focus.takeOnClick' default:false) ifTrue:[
+    (view styleSheet at:#'button.takeFocusOnClick' default:false) ifTrue:[
         "/ mhmh - how can this ever be nil ?
         (wg := view windowGroup) notNil ifTrue:[
             wg focusToView:view
@@ -487,7 +487,7 @@
         ]
     ]
 
-    "Modified: / 26.10.1998 / 20:23:07 / cg"
+    "Modified: / 28-03-2012 / 13:08:38 / cg"
 !
 
 buttonRelease:button x:x y:y
@@ -788,5 +788,5 @@
 !ButtonController class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/ButtonController.st,v 1.75 2012-03-07 10:56:37 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/ButtonController.st,v 1.76 2012-03-28 11:14:44 cg Exp $'
 ! !