File tree Expand file tree Collapse file tree
src/emc/usr_intf/gmoccapy Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747import gettext # to extract the strings to be translated
4848from collections import OrderedDict # needed for proper jog button arrangement
4949from time import strftime # needed for the clock in the GUI
50- # from Gtk._Gtk import main_quit
50+ from gladevcp . core import Status
5151
5252# Throws up a dialog with debug info when an error is encountered
5353def excepthook (exc_type , exc_obj , exc_tb ):
@@ -410,7 +410,7 @@ def __init__(self, argv):
410410 self .widgets ["rbt_view_{0}" .format (view )].set_active (True )
411411 self .widgets .gremlin .set_property ("view" , view )
412412
413- self .GSTAT = hal_glib . GStat ()
413+ self .GSTAT = Status ()
414414 self .GSTAT .connect ("graphics-gcode-properties" , self .on_gcode_properties )
415415 self .GSTAT .connect ("file-loaded" , self .on_hal_status_file_loaded )
416416
You can’t perform that action at this time.
0 commit comments