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