unlockDialog: Show auth prompt on tap
This commit is contained in:
parent
cd1c45731d
commit
22534c4c64
@ -378,9 +378,16 @@ var UnlockDialog = GObject.registerClass({
|
||||
super._init({
|
||||
accessible_role: Atk.Role.WINDOW,
|
||||
style_class: 'login-dialog',
|
||||
reactive: true,
|
||||
visible: false,
|
||||
});
|
||||
|
||||
let tapAction = new Clutter.TapAction();
|
||||
tapAction.connect('tap', () => {
|
||||
this._showAuth();
|
||||
})
|
||||
this.add_action(tapAction);
|
||||
|
||||
this.add_constraint(new Layout.MonitorConstraint({ primary: true }));
|
||||
parentActor.add_child(this);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user