Skip to content

Commit d6a1f3e

Browse files
committed
gmoccapy: fix G-code properties due to change in hal_glib
hal_glib --> common/hal_glib, see 333579a
1 parent de1f182 commit d6a1f3e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/emc/usr_intf/gmoccapy/gmoccapy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
import gettext # to extract the strings to be translated
4848
from collections import OrderedDict # needed for proper jog button arrangement
4949
from 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
5353
def 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

0 commit comments

Comments
 (0)