[gnome-shell/wip/reorg: 5/15] gdm: move batch.js to misc/



commit 2141138a6f10f55afca05942a3908a3932ebd157
Author: Ray Strode <rstrode redhat com>
Date:   Fri Jun 14 09:03:05 2013 -0400

    gdm: move batch.js to misc/
    
    batch.js has nothing to do with GDM, other than it's used by the login
    dialog.
    
    We eventually want to get rid of it entirely, but in the mean time move
    it to misc/ for clarity.

 js/Makefile.am            |    2 +-
 js/gdm/loginDialog.js     |    2 +-
 js/gdm/util.js            |    2 +-
 js/{gdm => misc}/batch.js |    0
 js/ui/unlockDialog.js     |    2 +-
 5 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/js/Makefile.am b/js/Makefile.am
index d4fbd86..87b95fd 100644
--- a/js/Makefile.am
+++ b/js/Makefile.am
@@ -17,13 +17,13 @@ misc/config.js: misc/config.js.in Makefile
 jsdir = $(pkgdatadir)/js
 
 nobase_dist_js_DATA =  \
-       gdm/batch.js            \
        gdm/fingerprint.js      \
        gdm/loginDialog.js      \
        gdm/powerMenu.js        \
        gdm/realmd.js           \
        gdm/util.js             \
        extensionPrefs/main.js  \
+       misc/batch.js           \
        misc/config.js          \
        misc/extensionUtils.js  \
        misc/fileUtils.js       \
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index 8432430..281f557 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -34,7 +34,7 @@ const Shell = imports.gi.Shell;
 const St = imports.gi.St;
 const Gdm = imports.gi.Gdm;
 
-const Batch = imports.gdm.batch;
+const Batch = imports.misc.batch;
 const Fprint = imports.gdm.fingerprint;
 const GdmUtil = imports.gdm.util;
 const Main = imports.ui.main;
diff --git a/js/gdm/util.js b/js/gdm/util.js
index 6075e66..57aa5f4 100644
--- a/js/gdm/util.js
+++ b/js/gdm/util.js
@@ -7,7 +7,7 @@ const Lang = imports.lang;
 const Mainloop = imports.mainloop;
 const Signals = imports.signals;
 
-const Batch = imports.gdm.batch;
+const Batch = imports.misc.batch;
 const Fprint = imports.gdm.fingerprint;
 const Main = imports.ui.main;
 const Params = imports.misc.params;
diff --git a/js/gdm/batch.js b/js/misc/batch.js
similarity index 100%
rename from js/gdm/batch.js
rename to js/misc/batch.js
diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js
index 2ce8b5b..563f6af 100644
--- a/js/ui/unlockDialog.js
+++ b/js/ui/unlockDialog.js
@@ -15,7 +15,7 @@ const ModalDialog = imports.ui.modalDialog;
 const ShellEntry = imports.ui.shellEntry;
 const UserWidget = imports.ui.userWidget;
 
-const Batch = imports.gdm.batch;
+const Batch = imports.misc.batch;
 const GdmUtil = imports.gdm.util;
 
 // The timeout before going back automatically to the lock screen (in seconds)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]