Skip to content

Commit

Permalink
Remove metrics only.
Browse files Browse the repository at this point in the history
For me on Windows there are no issues left for 1.11.0.
  • Loading branch information
rsjtdrjgfuzkfg committed Mar 4, 2012
1 parent fad0682 commit 6fa603a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions app/content/bindings/firstRun/firstRunEula.xml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -91,17 +91,16 @@
</xul:menulist> </xul:menulist>
</xul:hbox> </xul:hbox>


<!-- Options box. --> <!-- No metrics for Nightingale
<xul:vbox anonid="options_box"> <xul:vbox anonid="options_box">
<!-- Metrics collection checkbox. -->
<xul:checkbox anonid="metrics_checkbox" <xul:checkbox anonid="metrics_checkbox"
label="&first_run.feedback.metrics.label;"/> label="&first_run.feedback.metrics.label;"/>
<xul:description class="indent sb-first-run-checkbox-description"> <xul:description class="indent sb-first-run-checkbox-description">
&first_run.feedback.metrics.description; &first_run.feedback.metrics.description;
</xul:description> </xul:description>
</xul:vbox> <!-- options_box --> </xul:vbox> -->


</xul:vbox> <!-- container_box --> </xul:vbox> <!-- container_box -->


Expand Down Expand Up @@ -151,6 +150,7 @@
// Initialize the widget services. // Initialize the widget services.
this._widgetSvc.initialize(); this._widgetSvc.initialize();
/* No metrics for Nightingale
// set the default value of the metrics collection checkbox // set the default value of the metrics collection checkbox
var metricsChecked = var metricsChecked =
Application.prefs.getValue("app.metrics.checkedByDefault", true); Application.prefs.getValue("app.metrics.checkedByDefault", true);
Expand All @@ -159,17 +159,21 @@
"anonid", "anonid",
"metrics_checkbox"); "metrics_checkbox");
metricsCheckbox.checked = metricsChecked; metricsCheckbox.checked = metricsChecked;
*/
]]></constructor> ]]></constructor>




<method name="saveSettings"><body><![CDATA[ <method name="saveSettings"><body><![CDATA[
/* No metrics for Nightingale
// Save the metrics collection setting. // Save the metrics collection setting.
var metricsCheckbox = var metricsCheckbox =
document.getAnonymousElementByAttribute(this, document.getAnonymousElementByAttribute(this,
"anonid", "anonid",
"metrics_checkbox"); "metrics_checkbox");
var metricsEnabled = metricsCheckbox.checked ? "1" : "0"; var metricsEnabled = metricsCheckbox.checked ? "1" : "0";
Application.prefs.setValue("app.metrics.enabled", metricsEnabled); Application.prefs.setValue("app.metrics.enabled", metricsEnabled);
*/
Application.prefs.setValue("app.metrics.enabled", "0");
]]></body></method> ]]></body></method>


<!-- <!--
Expand Down

0 comments on commit 6fa603a

Please sign in to comment.