@@ -78,17 +78,17 @@ Key.prototype = {
78
78
y_fill : true ,
79
79
x_align : St . Align . START } ) ;
80
80
// Adds style to existing keyboard style to avoid repetition
81
- this . _boxPointer . actor . add_style_class_name ( 'keyboard-subkeys' ) ;
81
+ this . _boxPointer . add_style_class_name ( 'keyboard-subkeys' ) ;
82
82
this . _getExtendedKeys ( ) ;
83
83
this . actor . _extended_keys = this . _extended_keyboard ;
84
- this . _boxPointer . actor . hide ( ) ;
85
- Main . layoutManager . addChrome ( this . _boxPointer . actor , { visibleInFullscreen : true } ) ;
84
+ this . _boxPointer . hide ( ) ;
85
+ Main . layoutManager . addChrome ( this . _boxPointer , { visibleInFullscreen : true } ) ;
86
86
}
87
87
} ,
88
88
89
89
_onDestroy : function ( ) {
90
90
if ( this . _boxPointer ) {
91
- this . _boxPointer . actor . destroy ( ) ;
91
+ this . _boxPointer . destroy ( ) ;
92
92
this . _boxPointer = null ;
93
93
}
94
94
} ,
@@ -127,7 +127,7 @@ Key.prototype = {
127
127
key . connect ( 'button-release-event' , Lang . bind ( this , function ( ) { extended_key . release ( ) ; } ) ) ;
128
128
this . _extended_keyboard . add ( key ) ;
129
129
}
130
- this . _boxPointer . bin . add_actor ( this . _extended_keyboard ) ;
130
+ this . _boxPointer . add_actor ( this . _extended_keyboard ) ;
131
131
} ,
132
132
133
133
_onEventCapture : function ( actor , event ) {
@@ -142,7 +142,7 @@ Key.prototype = {
142
142
return false ;
143
143
}
144
144
if ( type == Clutter . EventType . BUTTON_PRESS ) {
145
- this . _boxPointer . actor . hide ( ) ;
145
+ this . _boxPointer . hide ( ) ;
146
146
this . _ungrab ( ) ;
147
147
return true ;
148
148
}
@@ -159,9 +159,9 @@ Key.prototype = {
159
159
_onShowSubkeysChanged : function ( ) {
160
160
if ( this . _key . show_subkeys ) {
161
161
this . actor . fake_release ( ) ;
162
- this . _boxPointer . actor . raise_top ( ) ;
162
+ this . _boxPointer . raise_top ( ) ;
163
163
this . _boxPointer . setPosition ( this . actor , 0.5 ) ;
164
- this . _boxPointer . show ( true ) ;
164
+ this . _boxPointer . show ( ) ;
165
165
this . actor . set_hover ( false ) ;
166
166
if ( ! this . _grabbed ) {
167
167
Main . pushModal ( this . actor ) ;
0 commit comments