Commit dcce8f0d authored by Luke Macken's avatar Luke Macken

Set our Run button to self.shell_button

parent 81ca9a9a
...@@ -231,7 +231,7 @@ class PyrasiteWindow(Gtk.Window): ...@@ -231,7 +231,7 @@ class PyrasiteWindow(Gtk.Window):
shell_prompt = Gtk.Entry() shell_prompt = Gtk.Entry()
self.shell_prompt = shell_prompt self.shell_prompt = shell_prompt
shell_bottom.pack_start(shell_prompt, True, True, 0) shell_bottom.pack_start(shell_prompt, True, True, 0)
shell_button = Gtk.Button('Run') self.shell_button = shell_button = Gtk.Button('Run')
shell_button.connect('clicked', self.run_shell_command) shell_button.connect('clicked', self.run_shell_command)
shell_bottom.pack_start(shell_button, False, False, 0) shell_bottom.pack_start(shell_button, False, False, 0)
shell_hbox.pack_end(shell_bottom, False, False, 0) shell_hbox.pack_end(shell_bottom, False, False, 0)
......
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