~tkluck/ubuntu/precise/gnome-shell/lp883443

« back to all changes in this revision

Viewing changes to js/ui/networkAgent.js

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha, Jeremy Bicha, Martin Pitt
  • Date: 2011-09-22 08:50:45 UTC
  • mfrom: (1.1.31 upstream)
  • Revision ID: package-import@ubuntu.com-20110922085045-o8abj9mx33iljb42
Tags: 3.1.92-0ubuntu1
[ Jeremy Bicha ]
* New upstream release.
  - Adds browser plugin for installing, enabling, disabling, and
    uninstalling shell extensions. (Note that extensions.gnome.org
    isn't yet in operation.)
  - Lots of bugfixes
* debian/control.in:
  - Depend on caribou libraries
  - Recommend gnome-session-fallback, needed when graphics support
    test fails (LP: #852950)
  - Bump minimum gjs dependency to 1.29.18 and minimum mutter 
    to 3.1.92
* debian/patches/01_favorite_apps.patch: Updated
* debian/patches/04_build-without-caribou.patch: Dropped

[ Martin Pitt ]
* debian/control.in: Add libjson-glib-dev build dependency as per
  configure.ac.

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
        }
92
92
 
93
93
        let secretTable = new St.Table({ style_class: 'network-dialog-secret-table' });
 
94
        let initialFocusSet = false;
94
95
        let pos = 0;
95
96
        for (let i = 0; i < this._content.secrets.length; i++) {
96
97
            let secret = this._content.secrets[i];
109
110
                secret.valid = secret.value.length > 0;
110
111
 
111
112
            if (reactive) {
 
113
                if (!initialFocusSet) {
 
114
                    this.setInitialKeyFocus(secret.entry);
 
115
                    initialFocusSet = true;
 
116
                }
 
117
 
 
118
                secret.entry.clutter_text.connect('activate', Lang.bind(this, this._onOk));
112
119
                secret.entry.clutter_text.connect('text-changed', Lang.bind(this, function() {
113
120
                    secret.value = secret.entry.get_text();
114
121
                    if (secret.validate)
360
367
        case 'bluetooth':
361
368
            content.title = _("Mobile broadband network password");
362
369
            content.message = _("A password is required to connect to '%s'.").format(connectionSetting.get_id());
363
 
            this._getMobileSecrets(content.secrets);
 
370
            this._getMobileSecrets(content.secrets, connectionType);
364
371
            break;
365
372
        default:
366
373
            log('Invalid connection type: ' + connectionType);