[gnome-shell] network-agent: Add missing parameter



commit 09fa5d98c2aef0ddfcb1de22e7ff8eee97f84908
Author: Florian MÃllner <fmuellner gnome org>
Date:   Wed Sep 7 19:16:01 2011 +0200

    network-agent: Add missing parameter
    
    _getMobileSecrets() expects the connection type to be passed, so
    do that.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=658492

 js/ui/networkAgent.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/networkAgent.js b/js/ui/networkAgent.js
index c8664cf..90480e7 100644
--- a/js/ui/networkAgent.js
+++ b/js/ui/networkAgent.js
@@ -360,7 +360,7 @@ NetworkSecretDialog.prototype = {
         case 'bluetooth':
             content.title = _("Mobile broadband network password");
             content.message = _("A password is required to connect to '%s'.").format(connectionSetting.get_id());
-            this._getMobileSecrets(content.secrets);
+            this._getMobileSecrets(content.secrets, connectionType);
             break;
         default:
             log('Invalid connection type: ' + connectionType);



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