host: Drop vestiges of old VM restore support

This hasn't been in the UI for a long time
This commit is contained in:
Cole Robinson 2018-03-08 13:44:24 -05:00
parent 56cf42e6ea
commit eb5cd8b2c9

View File

@ -54,7 +54,6 @@ class vmmHost(vmmGObjectUI):
__gsignals__ = {
"action-exit-app": (GObject.SignalFlags.RUN_FIRST, None, []),
"action-view-manager": (GObject.SignalFlags.RUN_FIRST, None, []),
"action-restore-domain": (GObject.SignalFlags.RUN_FIRST, None, [str]),
"host-closed": (GObject.SignalFlags.RUN_FIRST, None, []),
"host-opened": (GObject.SignalFlags.RUN_FIRST, None, []),
}
@ -88,8 +87,6 @@ class vmmHost(vmmGObjectUI):
"on_vmm_host_delete_event": self.close,
"on_host_page_switch": self.page_changed,
"on_menu_restore_saved_activate": self.restore_domain,
"on_net_add_clicked": self.add_network,
"on_net_delete_clicked": self.delete_network,
"on_net_stop_clicked": self.stop_network,
@ -297,9 +294,6 @@ class vmmHost(vmmGObjectUI):
def view_manager(self, src_ignore):
self.emit("action-view-manager")
def restore_domain(self, src_ignore):
self.emit("action-restore-domain", self.conn.get_uri())
def exit_app(self, src_ignore):
self.emit("action-exit-app")