tie together pause buttons

This commit is contained in:
Jeremy Katz 2006-09-01 11:18:25 -04:00
parent ecb202e391
commit ecd935bb41
1 changed files with 3 additions and 0 deletions

View File

@ -281,6 +281,9 @@ class vmmConsole(gobject.GObject):
else: else:
print _("Resume requested, but machine is already running") print _("Resume requested, but machine is already running")
self.window.get_widget("control-pause").set_active(src.get_active())
self.window.get_widget("menu-vm-pause").set_active(src.get_active())
def control_vm_terminal(self, src): def control_vm_terminal(self, src):
self.emit("action-show-terminal", self.vm.get_connection().get_uri(), self.vm.get_uuid()) self.emit("action-show-terminal", self.vm.get_connection().get_uri(), self.vm.get_uuid())