Commit dc010932 authored by Guillaume Seguin's avatar Guillaume Seguin

Merge branch 'gcodeplaterfixes'

parents 61728a7a 7ed86c5c
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
# Set up Internationalization using gettext # Set up Internationalization using gettext
# searching for installed locales on /usr/share; uses relative folder if not found (windows) # searching for installed locales on /usr/share; uses relative folder if not found (windows)
from printrun.printrun_utils import install_locale from printrun.printrun_utils import install_locale
install_locale('plater') install_locale('pronterface')
import wx import wx
import sys import sys
...@@ -30,8 +30,8 @@ from printrun.gl.libtatlin import actors ...@@ -30,8 +30,8 @@ from printrun.gl.libtatlin import actors
class GcodePlater(Plater): class GcodePlater(Plater):
load_wildcard = _("GCODE files (*.gcode;*.GCODE;*.g)") load_wildcard = _("GCODE files (*.gcode;*.GCODE;*.g)") + "|*.gcode;*.gco;*.g"
save_wildcard = _("GCODE files (*.gcode;*.GCODE;*.g)") save_wildcard = _("GCODE files (*.gcode;*.GCODE;*.g)") + "|*.gcode;*.gco;*.g"
def __init__(self, filenames = [], size = (800, 580), callback = None, parent = None, build_dimensions = None): def __init__(self, filenames = [], size = (800, 580), callback = None, parent = None, build_dimensions = None):
super(GcodePlater, self).__init__(filenames, size, callback, parent, build_dimensions) super(GcodePlater, self).__init__(filenames, size, callback, parent, build_dimensions)
......
...@@ -20,7 +20,7 @@ import os ...@@ -20,7 +20,7 @@ import os
# Set up Internationalization using gettext # Set up Internationalization using gettext
# searching for installed locales on /usr/share; uses relative folder if not found (windows) # searching for installed locales on /usr/share; uses relative folder if not found (windows)
from printrun.printrun_utils import install_locale from printrun.printrun_utils import install_locale
install_locale('plater') install_locale('pronterface')
import wx import wx
import time import time
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment