Skip to content

Commit

Permalink
prefs: set pref type and default value
Browse files Browse the repository at this point in the history
* otherwise prefs panel can complain about an unknown preference
  • Loading branch information
Todd Whiteman committed Feb 15, 2015
1 parent 3181436 commit 3728774
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions content/pref/pref-golang.xul
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
<menulist id="golangDefaultLocation"
flex="1"
pref="true"
prefstring="golangDefaultLocation"
preftype="string"
prefdefault=""
oncommand="PrefGolang_checkVersion();">
<menupopup id="avail-interp-list"/>
</menulist>
Expand All @@ -71,7 +72,8 @@
<menulist id="gocodeDefaultLocation"
flex="1"
pref="true"
prefstring="gocodeDefaultLocation">
preftype="string"
prefdefault="">
<menupopup id="gocode-avail-interp-list"/>
</menulist>
<button label="&browse.label;" oncommand="loadGocodeExecutable();"/>
Expand All @@ -82,7 +84,8 @@
<menulist id="godefDefaultLocation"
flex="1"
pref="true"
prefstring="godefDefaultLocation">
preftype="string"
prefdefault="">
<menupopup id="godef-avail-interp-list"/>
</menulist>
<button label="&browse.label;" oncommand="loadGodefExecutable();"/>
Expand Down

0 comments on commit 3728774

Please sign in to comment.