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';
|
import { App, Applications, Utils, Widget } from '../../imports.js';
|
||||||
const { Label, Box, Icon, Button, Scrollable, Entry, EventBox } = Widget;
|
const { Label, Box, Icon, Button, Scrollable, Entry, EventBox } = Widget;
|
||||||
const { getWindow } = App
|
|
||||||
|
|
||||||
import { Separator } from '../misc/separator.js';
|
import { Separator } from '../misc/separator.js';
|
||||||
import { PopupWindow } from '../misc/popup.js';
|
import { PopupWindow } from '../misc/popup.js';
|
||||||
|
@ -120,10 +119,10 @@ export default PopupWindow({
|
||||||
name: 'applauncher',
|
name: 'applauncher',
|
||||||
child: EventBox({
|
child: EventBox({
|
||||||
onHover: () => {
|
onHover: () => {
|
||||||
getWindow('applauncher').focusable = true;
|
App.getWindow('applauncher').focusable = true;
|
||||||
},
|
},
|
||||||
onHoverLost: () => {
|
onHoverLost: () => {
|
||||||
getWindow('applauncher').focusable = false;
|
App.getWindow('applauncher').focusable = false;
|
||||||
},
|
},
|
||||||
child: Applauncher(),
|
child: Applauncher(),
|
||||||
}),
|
}),
|
||||||
|
|
|
@ -24,7 +24,6 @@ const Center = player => Box({
|
||||||
CenterBox({
|
CenterBox({
|
||||||
vertical: true,
|
vertical: true,
|
||||||
children: [
|
children: [
|
||||||
|
|
||||||
Box({
|
Box({
|
||||||
className: 'metadata',
|
className: 'metadata',
|
||||||
vertical: true,
|
vertical: true,
|
||||||
|
|
Loading…
Reference in a new issue