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
This commit is contained in:
Florian Müllner 2011-09-07 19:16:01 +02:00
parent 268fe464de
commit 09fa5d98c2

View File

@ -360,7 +360,7 @@ NetworkSecretDialog.prototype = {
case 'bluetooth': case 'bluetooth':
content.title = _("Mobile broadband network password"); content.title = _("Mobile broadband network password");
content.message = _("A password is required to connect to '%s'.").format(connectionSetting.get_id()); content.message = _("A password is required to connect to '%s'.").format(connectionSetting.get_id());
this._getMobileSecrets(content.secrets); this._getMobileSecrets(content.secrets, connectionType);
break; break;
default: default:
log('Invalid connection type: ' + connectionType); log('Invalid connection type: ' + connectionType);