summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2012-11-27 10:44:13 -0500
committerCole Robinson <crobinso@redhat.com>2012-11-27 10:44:13 -0500
commit43b213bf19d45e982e1161dba9cabd0e350e00dd (patch)
treef86073ca34e25e5f4cb9d505f2d7819eba71768a
parenta324196e09a89d9dc57700cadc4bbf6aa31e2b10 (diff)
downloadvirt-manager-43b213bf19d45e982e1161dba9cabd0e350e00dd.tar.gz
addhw: Remove unused field and old comment for USB mice
-rw-r--r--src/virtManager/addhardware.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/virtManager/addhardware.py b/src/virtManager/addhardware.py
index 9ca8e572..1fb7e83e 100644
--- a/src/virtManager/addhardware.py
+++ b/src/virtManager/addhardware.py
@@ -264,12 +264,11 @@ class vmmAddHardware(vmmGObjectUI):
# Input device type
input_list = self.widget("input-type")
- input_model = gtk.ListStore(str, str, str, bool)
+ input_model = gtk.ListStore(str, str, str)
input_list.set_model(input_model)
text = gtk.CellRendererText()
input_list.pack_start(text, True)
input_list.add_attribute(text, 'text', 0)
- input_list.add_attribute(text, 'sensitive', 3)
# Graphics type
graphics_list = self.widget("graphics-type")
@@ -550,11 +549,8 @@ class vmmAddHardware(vmmGObjectUI):
def populate_input_model(self, model):
model.clear()
- model.append([_("EvTouch USB Graphics Tablet"), "tablet", "usb", True])
- # XXX libvirt needs to support 'model' for input devices to distinguish
- # wacom from evtouch tablets
- #model.append([_("Wacom Graphics Tablet"), "tablet", "usb", True])
- model.append([_("Generic USB Mouse"), "mouse", "usb", True])
+ model.append([_("EvTouch USB Graphics Tablet"), "tablet", "usb"])
+ model.append([_("Generic USB Mouse"), "mouse", "usb"])
def populate_graphics_model(self, model):
model.clear()