mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
gdmUtil: separate AuthPrompt out into its own file
It's cleaner to have it in its own file than to cram it into util.js, so this commit moves it. https://bugzilla.gnome.org/show_bug.cgi?id=704707
This commit is contained in:
parent
f4100ac507
commit
d30cb2d4d9
5 changed files with 299 additions and 287 deletions
|
|
@ -32,6 +32,7 @@ const Shell = imports.gi.Shell;
|
|||
const Signals = imports.signals;
|
||||
const St = imports.gi.St;
|
||||
|
||||
const AuthPrompt = imports.gdm.authPrompt;
|
||||
const Batch = imports.gdm.batch;
|
||||
const BoxPointer = imports.ui.boxpointer;
|
||||
const CtrlAltTab = imports.ui.ctrlAltTab;
|
||||
|
|
@ -457,7 +458,7 @@ const LoginDialog = new Lang.Class({
|
|||
x_fill: true,
|
||||
y_fill: true });
|
||||
|
||||
this._authPrompt = new GdmUtil.AuthPrompt();
|
||||
this._authPrompt = new AuthPrompt.AuthPrompt();
|
||||
this._authPrompt.hide();
|
||||
this._authPrompt.connect('cancel',
|
||||
Lang.bind(this, function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue