Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 317091 Details for
Bug 457878
Shouldn't launch network creator if not connected to hypervisor.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Don't set 'net add' button sensitive if not connected to hypervisor.
virt-manager-0.5.3-net-add-sensitive.patch (text/plain), 1.85 KB, created by
Cole Robinson
on 2008-09-18 16:23:52 UTC
(
hide
)
Description:
Don't set 'net add' button sensitive if not connected to hypervisor.
Filename:
MIME Type:
Creator:
Cole Robinson
Created:
2008-09-18 16:23:52 UTC
Size:
1.85 KB
patch
obsolete
>diff -rup old/src/virtManager/engine.py new/src/virtManager/engine.py >--- old/src/virtManager/engine.py 2008-09-18 10:35:17.774436000 -0400 >+++ new/src/virtManager/engine.py 2008-09-18 10:50:00.967529000 -0400 >@@ -107,7 +107,8 @@ class vmmEngine(gobject.GObject): > del self.connections[hvuri]["windowSerialConsole"][vmuuid] > > def _do_connection_changed(self, connection): >- if connection.get_state() == connection.STATE_ACTIVE: >+ if connection.get_state() == connection.STATE_ACTIVE or \ >+ connection.get_state() == connection.STATE_CONNECTING: > return > > hvuri = connection.get_uri() >diff -rup old/src/virtManager/host.py new/src/virtManager/host.py >--- old/src/virtManager/host.py 2008-09-18 10:35:17.838430000 -0400 >+++ new/src/virtManager/host.py 2008-09-18 10:52:36.465805000 -0400 >@@ -26,6 +26,7 @@ import sparkline > import logging > import os > >+from virtManager.connection import vmmConnection > from virtManager.createnet import vmmCreateNetwork > > class vmmHost(gobject.GObject): >@@ -101,7 +102,9 @@ class vmmHost(gobject.GObject): > self.conn.connect("resources-sampled", self.refresh_resources) > self.conn.connect("net-started", self.refresh_network) > self.conn.connect("net-stopped", self.refresh_network) >+ self.conn.connect("state-changed", self.conn_state_changed) > self.refresh_resources() >+ self.conn_state_changed() > > def show(self): > dialog = self.window.get_widget("vmm-host") >@@ -112,6 +115,10 @@ class vmmHost(gobject.GObject): > return 1 > return 0 > >+ def conn_state_changed(self, ignore1=None): >+ state = (self.conn.get_state() == vmmConnection.STATE_ACTIVE) >+ self.window.get_widget("net-add").set_sensitive(state) >+ > def delete_network(self, src): > net = self.current_network() > if net is not None:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 457878
:
316913
| 317091