[gnome-shell] gdm: clear the messages queue when the user answers a prompt



commit 48f9ea3d9e48614c08df083e43703b1fb9e64765
Author: Jonh Wendell <jonh wendell linux intel com>
Date:   Mon Jun 17 17:12:07 2013 -0300

    gdm: clear the messages queue when the user answers a prompt
    
    the messages were being shown even when the user entered the
    right information they were asked for.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=702458

 js/gdm/util.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/gdm/util.js b/js/gdm/util.js
index 6075e66..cae3e1b 100644
--- a/js/gdm/util.js
+++ b/js/gdm/util.js
@@ -164,6 +164,7 @@ const ShellUserVerifier = new Lang.Class({
 
     answerQuery: function(serviceName, answer) {
         if (!this._userVerifier.hasPendingMessages) {
+            this._clearMessageQueue();
             this._userVerifier.call_answer_query(serviceName, answer, this._cancellable, null);
         } else {
             let signalId = this._userVerifier.connect('no-more-messages',


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