chiark / gitweb /
Removed stats submission
authorSteven Abadie <steven@alephobjects.com>
Wed, 29 Oct 2014 03:35:51 +0000 (21:35 -0600)
committerSteven Abadie <steven@alephobjects.com>
Wed, 29 Oct 2014 03:35:51 +0000 (21:35 -0600)
CLose #26

Cura/gui/configWizard.py
Cura/gui/preferencesDialog.py
Cura/util/sliceEngine.py

index f751141c016c6472836464dc2ec71f4065e1a934..0dd0172608b49111e26125648b3ad7bb9e49665c 100644 (file)
@@ -400,12 +400,12 @@ class MachineSelectPage(InfoPage):
                self.PrintrbotRadio.Bind(wx.EVT_RADIOBUTTON, self.OnPrintrbotSelect)
                self.OtherRadio = self.AddRadioButton(_("Other (Ex: RepRap, MakerBot, Witbox)"))
                self.OtherRadio.Bind(wx.EVT_RADIOBUTTON, self.OnOtherSelect)
-               self.AddSeperator()
-               self.AddText(_("The collection of anonymous usage information helps with the continued improvement of Cura."))
-               self.AddText(_("This does NOT submit your models online nor gathers any privacy related information."))
-               self.SubmitUserStats = self.AddCheckbox(_("Submit anonymous usage information:"))
-               self.AddText(_("For full details see: http://wiki.ultimaker.com/Cura:stats"))
-               self.SubmitUserStats.SetValue(False)
+               #self.AddSeperator()
+               #self.AddText(_("The collection of anonymous usage information helps with the continued improvement of Cura."))
+               #self.AddText(_("This does NOT submit your models online nor gathers any privacy related information."))
+               #self.SubmitUserStats = self.AddCheckbox(_("Submit anonymous usage information:"))
+               #self.AddText(_("For full details see: http://wiki.ultimaker.com/Cura:stats"))
+               #self.SubmitUserStats.SetValue(False)
 
        def OnUltimaker2Select(self, e):
                wx.wizard.WizardPageSimple.Chain(self, self.GetParent().ultimaker2ReadyPage)
@@ -516,10 +516,10 @@ class MachineSelectPage(InfoPage):
                        profile.putProfileSetting('nozzle_size', '0.5')
                profile.checkAndUpdateMachineName()
                profile.putProfileSetting('wall_thickness', float(profile.getProfileSetting('nozzle_size')) * 2)
-               if self.SubmitUserStats.GetValue():
-                       profile.putPreference('submit_slice_information', 'True')
-               else:
-                       profile.putPreference('submit_slice_information', 'False')
+               #if self.SubmitUserStats.GetValue():
+               #       profile.putPreference('submit_slice_information', 'True')
+               #else:
+               #       profile.putPreference('submit_slice_information', 'False')
 
 
 class SelectParts(InfoPage):
index fccc2160aa23d5067a6c66d7e591cdb1291d922e..54bde5a4fa5ec2a6186b33b1777688b84cc2332c 100644 (file)
@@ -50,7 +50,7 @@ class preferencesDialog(wx.Dialog):
                configBase.TitleRow(right, _("Cura settings"))
                configBase.SettingRow(right, 'auto_detect_sd')
                configBase.SettingRow(right, 'check_for_updates')
-               configBase.SettingRow(right, 'submit_slice_information')
+               #configBase.SettingRow(right, 'submit_slice_information')
 
                self.okButton = wx.Button(right, -1, 'Ok')
                right.GetSizer().Add(self.okButton, (right.GetSizer().GetRows(), 0), flag=wx.BOTTOM, border=5)
index e6f8b16117412eeb96d823e50b3e46fd9add7a97..9759720c352a5cd6af990d21fd0c26772368af49 100644 (file)
@@ -142,7 +142,7 @@ class EngineResult(object):
                        time.sleep(0.1)
                return self._gcodeLoadCallback(self, progress)
 
-       def submitInfoOnline(self):
+       '''def submitInfoOnline(self):
                if profile.getPreference('submit_slice_information') != 'True':
                        return
                if version.isDevVersion():
@@ -162,7 +162,7 @@ class EngineResult(object):
                        f.close()
                except:
                        import traceback
-                       traceback.print_exc()
+                       traceback.print_exc()'''
 
 class Engine(object):
        """