mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Fixed method names for DBus remote
This commit is contained in:
parent
6529609d4b
commit
fc6942cb88
@ -65,7 +65,7 @@ def main():
|
|||||||
print "Asking existing instance to open URI '" + str(options.uri) + "'"
|
print "Asking existing instance to open URI '" + str(options.uri) + "'"
|
||||||
managerObj.show_host_summary(options.uri)
|
managerObj.show_host_summary(options.uri)
|
||||||
else:
|
else:
|
||||||
managerObj.show_open_connection()
|
managerObj.show_connect()
|
||||||
# yes, we exit completely now - remote service is in charge
|
# yes, we exit completely now - remote service is in charge
|
||||||
return
|
return
|
||||||
except:
|
except:
|
||||||
@ -74,7 +74,7 @@ def main():
|
|||||||
if options.uri != None:
|
if options.uri != None:
|
||||||
engine.show_manager(options.uri)
|
engine.show_manager(options.uri)
|
||||||
else:
|
else:
|
||||||
engine.show_open_connection()
|
engine.show_connect()
|
||||||
gtk.main()
|
gtk.main()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
@ -30,5 +30,5 @@ class vmmRemote(dbus.service.Object):
|
|||||||
self.engine.show_manager(uri)
|
self.engine.show_manager(uri)
|
||||||
|
|
||||||
@dbus.service.method("com.redhat.virt.manager")
|
@dbus.service.method("com.redhat.virt.manager")
|
||||||
def show_open_connection(self):
|
def show_connect(self):
|
||||||
self.engine.show_open_connection()
|
self.engine.show_connect()
|
||||||
|
Loading…
Reference in New Issue
Block a user