add "finish" command

This adds the "finish" command to the GUI.
It also wires up the "stop" button, but that still doesn't
seem to work.
This commit is contained in:
Tom Tromey
2013-06-07 14:47:50 -06:00
parent 5fceb3421e
commit c31ec25531
2 changed files with 21 additions and 4 deletions

View File

@@ -147,6 +147,8 @@ class SourceWindow:
self.do_step = Invoker("step")
self.do_next = Invoker("next")
self.do_continue = Invoker("continue")
self.do_finish = Invoker("finish")
self.do_stop = Invoker("interrupt")
builder = Gtk.Builder()
builder.add_from_file(os.path.join(gui.self_dir, 'sourcewindow.xml'))
@@ -159,10 +161,6 @@ class SourceWindow:
self.window.show()
def do_stop(self, *args):
# FIXME.
pass
def deleted(self, widget, event):
lru_handler.remove(self)