mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 18:55:30 +00:00
UI for clients
This commit is contained in:
parent
19f1930dbf
commit
b16f30644c
@ -1,6 +1,7 @@
|
||||
<!ENTITY prefpane.label "Weave">
|
||||
<!ENTITY accountTab.label "Account">
|
||||
<!ENTITY syncTab.label "Data">
|
||||
<!ENTITY clientsTab.label "Clients">
|
||||
<!ENTITY addonsTab.label "Add-ons">
|
||||
<!ENTITY advancedTab.label "Advanced">
|
||||
|
||||
|
@ -64,19 +64,23 @@ ClientDataSvc.prototype = {
|
||||
},
|
||||
|
||||
get name() {
|
||||
return this._getCharPref("client.name", function() "cheese");
|
||||
return this._getCharPref("client.name", function() "Firefox");
|
||||
},
|
||||
set GUID(value) {
|
||||
Utils.prefs.setCharPref("client.name", value);
|
||||
},
|
||||
|
||||
get type() {
|
||||
return this._getCharPref("client.type", function() "gruyere");
|
||||
return this._getCharPref("client.type", function() "desktop");
|
||||
},
|
||||
set GUID(value) {
|
||||
Utils.prefs.setCharPref("client.type", value);
|
||||
},
|
||||
|
||||
clients: function ClientData__clients() {
|
||||
return this._remote.data;
|
||||
},
|
||||
|
||||
_getCharPref: function ClientData__getCharPref(pref, defaultCb) {
|
||||
let value;
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user