Tweak 'libvirt needs to be started' first run message

This commit is contained in:
Cole Robinson 2013-06-24 12:15:28 -04:00
parent 10cf80c25b
commit 57345cd61a
1 changed files with 3 additions and 6 deletions

View File

@ -207,12 +207,9 @@ class vmmEngine(vmmGObject):
manager.set_startup_error(msg)
return
warnmsg = _("virt-manager will connect to libvirt on the next\n"
"application start up.")
if any(["libvirt" in p for p in ret or []]):
warnmsg = _(
"Libvirt was just installed, so the 'libvirtd' service will\n"
"will need to be started.") + "\n\n" + warnmsg
warnmsg = _("The 'libvirtd' service will need to be started.\n\n"
"After that, virt-manager will connect to libvirt on\n"
"the next application start up.")
# Do the initial connection in an idle callback, so the
# packagekit async dialog has a chance to go away