NetworkAgent: rename VPN keyfile key to "supports-external-ui-mode"

Dan Williams requested this change before merging the plugin patches,
so this is the key actually exposed.
This commit is contained in:
Giovanni Campagna 2012-02-15 15:41:26 +01:00
parent 68b7e8437b
commit c8020e6559

View File

@ -680,7 +680,7 @@ const NetworkAgent = new Lang.Class({
let binary = keyfile.get_string('GNOME', 'auth-dialog');
let externalUIMode = false;
try {
externalUIMode = keyfile.get_boolean('GNOME', 'external-ui-mode');
externalUIMode = keyfile.get_boolean('GNOME', 'supports-external-ui-mode');
} catch(e) { } // ignore errors if key does not exist
let path = GLib.build_filenamev([Config.LIBEXECDIR, binary]);