GNOME Bugzilla – Bug 726970
Option to "import 0 boxes from system broker"
Last modified: 2016-03-31 13:22:07 UTC
In Boxes 3.11.91, the create new box wizard presents a new option I'd never seen before: import boxes from system broker. I guess that has something to do with libvirt, but I don't know much about that, so it's confusing to me. It might be a good idea to hide this option unless there are actually boxes in the system broker. Clicking the option takes me to a page that says "Will import 0 boxes from system broker," with the blue Create action suggested in the top-right. Clicking Create just takes me back to the start/overview page with my previously-existing boxes. The Create should have been insensitive, or the page should have been inaccessible.
Didn't exactly get to test with '0' boxes in system libvirt but I'm pretty sure the fix I just pushed should work.
I still get the "Import 0 machine from system broker" entry in the wizard. You probably can test this easily with a bogus libvirt URI in src/libvirt-system-importer.vala: connection = new GVir.Connection ("qemu+unix:///system");
(In reply to comment #2) > I still get the "Import 0 machine from system broker" entry in the wizard. You > probably can test this easily with a bogus libvirt URI in > src/libvirt-system-importer.vala: connection = new GVir.Connection > ("qemu+unix:///system"); Ouch, I couldn't test because I have 1 box on my system libvirt. I guess I can test with commenting out some code..
OK, now I believe its really fixed. :)
Looks good here.