Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
virt-manager
1242-delete-active-vm.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1242-delete-active-vm.patch of Package virt-manager
# HG changeset patch # User Cole Robinson <crobinso@redhat.com> # Date 1251728389 14400 # Node ID b70858b9f8c6f9fea21f6e66a10e7b9498f11e5e # Parent 0bdea2b6c30e3b9ac7ca7b35f957598e66fd8c36 Don't allow deleting an active VM (bz 518536) Index: virt-manager-0.8.0/src/virtManager/manager.py =================================================================== --- virt-manager-0.8.0.orig/src/virtManager/manager.py +++ virt-manager-0.8.0/src/virtManager/manager.py @@ -684,7 +684,8 @@ class vmmManager(gobject.GObject): show_open = bool(vm) show_details = bool(vm) host_details = bool(vm or conn) - delete = bool((vm and vm.is_runable()) or conn) + delete = bool((vm and vm.is_runable()) or + (not vm and conn)) show_run = bool(vm and vm.is_runable()) is_paused = bool(vm and vm.is_paused()) if is_paused:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor