File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,13 @@ export default function Controls() {
1515 xExpand = { false }
1616 xAlign = { Clutter . ActorAlign . END }
1717 visible = { createBinding ( gnofi , "text" ) . as ( Boolean ) }
18- onClicked = { ( ) => ( gnofi . text = "" ) }
18+ onButtonPressEvent = { ( ) => void ( gnofi . text = "" ) }
1919 >
2020 < St . Icon iconSize = { 16 } iconName = "edit-clear-symbolic" />
2121 </ St . Button >
2222 < St . Button
2323 class = "popup-menu-item"
24- onClicked = { ( ) => {
24+ onButtonPressEvent = { ( ) => {
2525 extension . openPreferences ( )
2626 gnofi . close ( )
2727 } }
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ export default function PickerButton(props: {
4646 }
4747 onKeyFocusIn = { ( self ) => self . add_style_pseudo_class ( "selected" ) }
4848 onKeyFocusOut = { ( self ) => self . remove_style_pseudo_class ( "selected" ) }
49+ onClicked = { props . onClick }
4950 onButtonPressEvent = { props . onClick }
5051 css = { padding ( ( p ) =>
5152 Array . isArray ( p )
You can’t perform that action at this time.
0 commit comments