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:
Ray Strode 2013-07-23 20:37:42 -04:00
parent f4100ac507
commit d30cb2d4d9
5 changed files with 299 additions and 287 deletions

View file

@ -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() {