fix(ags applauncher): add App to corresponding functions
This commit is contained in:
parent
c47a13e155
commit
bd6eccdc82
2 changed files with 2 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
|||
import { App, Applications, Utils, Widget } from '../../imports.js';
|
||||
const { Label, Box, Icon, Button, Scrollable, Entry, EventBox } = Widget;
|
||||
const { getWindow } = App
|
||||
|
||||
import { Separator } from '../misc/separator.js';
|
||||
import { PopupWindow } from '../misc/popup.js';
|
||||
|
@ -120,10 +119,10 @@ export default PopupWindow({
|
|||
name: 'applauncher',
|
||||
child: EventBox({
|
||||
onHover: () => {
|
||||
getWindow('applauncher').focusable = true;
|
||||
App.getWindow('applauncher').focusable = true;
|
||||
},
|
||||
onHoverLost: () => {
|
||||
getWindow('applauncher').focusable = false;
|
||||
App.getWindow('applauncher').focusable = false;
|
||||
},
|
||||
child: Applauncher(),
|
||||
}),
|
||||
|
|
|
@ -24,7 +24,6 @@ const Center = player => Box({
|
|||
CenterBox({
|
||||
vertical: true,
|
||||
children: [
|
||||
|
||||
Box({
|
||||
className: 'metadata',
|
||||
vertical: true,
|
||||
|
|
Loading…
Reference in a new issue