--- /usr/share/gnome-shell/js/gdm/loginDialog.js.orig	2011-11-29 12:39:07.554010129 +0100
+++ /usr/share/gnome-shell/js/gdm/loginDialog.js	2011-11-29 13:06:40.314401671 +0100
@@ -50,6 +50,7 @@
 
 const _LOGIN_SCREEN_SCHEMA = 'org.gnome.login-screen';
 const _FINGERPRINT_AUTHENTICATION_KEY = 'enable-fingerprint-authentication';
+const _DISABLE_USER_LIST = 'disable-user-list';
 
 const _LOGO_KEY = 'logo';
 
@@ -283,7 +284,8 @@
 }
 
 UserList.prototype = {
-    _init: function() {
+    _init: function(disable_user_list) {
+	this.disable_user_list = disable_user_list;
         this.actor = new St.ScrollView({ style_class: 'login-dialog-user-list-view'});
         this.actor.set_policy(Gtk.PolicyType.NEVER,
                               Gtk.PolicyType.AUTOMATIC);
@@ -487,6 +489,9 @@
     },
 
     addUser: function(user) {
+	if (this.disable_user_list) 
+	    return; 
+
         if (!user.is_loaded)
             return;
 
@@ -790,6 +795,7 @@
                                     Lang.bind(this, this._onConversationStopped));
 
         this._settings = new Gio.Settings({ schema: _LOGIN_SCREEN_SCHEMA });
+        this._disable_user_list = this._settings.get_boolean(_DISABLE_USER_LIST);
 
         this._fprintManager = new Fprint.FprintManager();
         this._startFingerprintConversationIfNeeded();
@@ -812,8 +818,7 @@
                                { expand: true,
                                  x_fill: true,
                                  y_fill: false });
-
-        this._userList = new UserList();
+        this._userList = new UserList(this._disable_user_list);
         mainContentBox.add(this._userList.actor,
                            { expand: true,
                              x_fill: true,
@@ -896,7 +901,9 @@
                                Lang.bind(this, function(userList, item) {
                                    this._onUserListActivated(item);
                                }));
-
+        if (this._disable_user_list) {
+            this._onReset();
+        };
    },
 
    _startFingerprintConversationIfNeeded: function() {
@@ -953,6 +960,9 @@
                      }];
 
         this._user = null;
+	if (this._disable_user_list) {
+	    tasks.push(this._onNotListedClicked);
+	}
 
         let batch = new Batch.ConsecutiveBatch(this, tasks);
         batch.run();
