@@ -213,7 +214,7 @@ class PronterWindow(MainWindow, pronsole.pronsole):
self.settings._add(BooleanSetting("lockbox",False,_("Display interface lock checkbox"),_("Display a checkbox that, when check, locks most of Pronterface"),"UI"))
self.settings._add(BooleanSetting("lockonstart",False,_("Lock interface upon print start"),_("If lock checkbox is enabled, lock the interface when starting a print"),"UI"))
@@ -298,10 +299,10 @@ class PronterWindow(MainWindow, pronsole.pronsole):
rco.write(_("# I moved all your custom buttons into .pronsolerc.\n# Please don't add them here any more.\n# Backup of your old buttons is in custombtn.old\n"))
rco.close()
exceptIOError,x:
printstr(x)
logging.error(str(x))
else:
print_("Note!!! You have specified custom buttons in both custombtn.txt and .pronsolerc")
print_("Ignoring custombtn.txt. Remove all current buttons to revert to custombtn.txt")
logging.warning(_("Note!!! You have specified custom buttons in both custombtn.txt and .pronsolerc"))
logging.warning(_("Ignoring custombtn.txt. Remove all current buttons to revert to custombtn.txt"))
except:
pass
...
...
@@ -1475,7 +1476,7 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""
wx.CallAfter(self.gviz.Refresh)
ifself.p.online:
ifself.p.writefailures>=4:
print_("Disconnecting after 4 failed writes.")
logging.error(_("Disconnecting after 4 failed writes."))
self.status_thread=None
self.disconnect()
return
...
...
@@ -1605,7 +1606,7 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""