Package: virt-manager
Version: 0.7.0-2
Severity: minor
Tags: patch

--- Please enter the report below this line. ---
In the "Add hardware" wizard summary, the keymap field is set to "None" instead 
of "Same as host" when "Same as host" option is used.

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.29-2-amd64

Debian Release: squeeze/sid
  500 unstable        trash-desktop 
    1 experimental    trash-desktop 

--- Package information. ---
Depends                  (Version) | Installed
==================================-+-=============
libatk1.0-0            (>= 1.20.0) | 1.26.0-1
libc6                   (>= 2.2.5) | 2.9-12
libcairo2               (>= 1.2.4) | 1.8.6-2+b1
libfontconfig1          (>= 2.4.0) | 2.6.0-3
libfreetype6            (>= 2.2.1) | 2.3.9-4.1
libglib2.0-0           (>= 2.16.0) | 2.20.1-2
libgtk2.0-0             (>= 2.8.0) | 2.16.1-2
libpango1.0-0          (>= 1.14.0) | 1.24.0-3+b1
python2.5                 (>= 2.5) | 2.5.4-1
python-gtk2                        | 2.14.1-2
python-glade2                      | 2.14.1-2
python-gnome2                      | 2.26.1-1
python-dbus                        | 0.83.0-1
python-urlgrabber                  | 3.1.0-4
python-vte                         | 1:0.20.1-1
librsvg2-common                    | 2.22.3-2
python-libvirt          (>= 0.4.6) | 0.6.3-2
virtinst              (>= 0.400.1) | 0.400.3-2
python-gtk-vnc          (>= 0.3.8) | 0.3.8-2


Recommends       (Version) | Installed
==========================-+-===========
hal                        | 0.5.12~git20090406.46dc48-2
libvirt-bin     (>= 0.4.6) | 0.6.3-2


Suggests         (Version) | Installed
==========================-+-===========
virt-viewer                | 





-- 
Laurent Léonard
--- /usr/share/virt-manager/virtManager/addhardware.orig.py	2009-04-16 19:43:32.000000000 +0200
+++ /usr/share/virt-manager/virtManager/addhardware.py	2009-05-13 01:08:13.000000000 +0200
@@ -522,7 +522,7 @@
                         self.window.get_widget("summary-graphics-password").set_text(_("Yes"))
                     else:
                         self.window.get_widget("summary-graphics-password").set_text(_("No"))
-                    if self.get_config_keymap() != "":
+                    if self.get_config_keymap() is not None:
                         self.window.get_widget("summary-graphics-keymap").set_text(str(self.get_config_keymap()))
                     else:
                         self.window.get_widget("summary-graphics-keymap").set_text(_("Same as host"))

Reply via email to