- bnc#731218 - Xen guest consoles started from the virt manager
have slow mouse response in the guest virtman-reverse-git-tooltip.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=83
This commit is contained in:
parent
47bcc5617d
commit
69388ae90c
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 5 11:38:54 MST 2011 - carnold@novell.com
|
||||
|
||||
- bnc#731218 - Xen guest consoles started from the virt manager
|
||||
have slow mouse response in the guest
|
||||
virtman-reverse-git-tooltip.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 7 16:27:15 MST 2011 - carnold@novell.com
|
||||
|
||||
|
@ -51,6 +51,7 @@ Patch62: virtman-storage-pool.diff
|
||||
Patch63: virtman-eepro100.diff
|
||||
Patch64: virtman-qed.diff
|
||||
Patch65: virtman-update-backend.diff
|
||||
Patch66: virtman-reverse-git-tooltip.patch
|
||||
Patch150: virtinst-cdrom.diff
|
||||
Patch151: virtinst-storage-ocfs2.diff
|
||||
Patch152: virtinst-qed.diff
|
||||
@ -148,6 +149,7 @@ Authors:
|
||||
%patch63 -p1
|
||||
%patch64 -p1
|
||||
%patch65 -p1
|
||||
%patch66 -p1
|
||||
pushd $RPM_BUILD_DIR/%{virtinst_name}
|
||||
%patch150 -p1
|
||||
%patch151 -p1
|
||||
|
51
virtman-reverse-git-tooltip.patch
Normal file
51
virtman-reverse-git-tooltip.patch
Normal file
@ -0,0 +1,51 @@
|
||||
This patch reverses the commit described below. The commit causes a serious
|
||||
mouse tracking slowdown. See bnc#731218.
|
||||
|
||||
Subject: manager: Properly show vm desc in tooltip w/ special xml characters
|
||||
From: Cole Robinson crobinso@redhat.com Mon Sep 26 11:05:55 2011 -0400
|
||||
Date: Mon Sep 26 11:07:52 2011 -0400:
|
||||
Git: 0a7640c593a54a6a3f558583d82f8b27c7a7d1d1
|
||||
|
||||
Index: virt-manager-0.9.0/src/virtManager/manager.py
|
||||
===================================================================
|
||||
--- virt-manager-0.9.0.orig/src/virtManager/manager.py
|
||||
+++ virt-manager-0.9.0/src/virtManager/manager.py
|
||||
@@ -726,9 +726,6 @@ class vmmManager(vmmGObjectUI):
|
||||
|
||||
def _build_vm_row(self, vm):
|
||||
row = []
|
||||
- desc = None
|
||||
- if vm.get_description() is not None:
|
||||
- desc = util.xml_escape(vm.get_description())
|
||||
|
||||
row.insert(ROW_HANDLE, vm)
|
||||
row.insert(ROW_NAME, vm.get_name())
|
||||
@@ -736,7 +733,7 @@ class vmmManager(vmmGObjectUI):
|
||||
row.insert(ROW_STATUS, vm.run_status())
|
||||
row.insert(ROW_STATUS_ICON, vm.run_status_icon_name())
|
||||
row.insert(ROW_KEY, vm.get_uuid())
|
||||
- row.insert(ROW_HINT, desc)
|
||||
+ row.insert(ROW_HINT, vm.get_description())
|
||||
row.insert(ROW_IS_CONN, False)
|
||||
row.insert(ROW_IS_CONN_CONNECTED, True)
|
||||
row.insert(ROW_IS_VM, True)
|
||||
@@ -872,10 +869,6 @@ class vmmManager(vmmGObjectUI):
|
||||
if self.vm_row_key(vm) not in self.rows:
|
||||
return
|
||||
|
||||
- desc = None
|
||||
- if vm.get_description() is not None:
|
||||
- desc = util.xml_escape(vm.get_description())
|
||||
-
|
||||
row = self.rows[self.vm_row_key(vm)]
|
||||
row[ROW_NAME] = vm.get_name()
|
||||
row[ROW_STATUS] = vm.run_status()
|
||||
@@ -884,7 +877,7 @@ class vmmManager(vmmGObjectUI):
|
||||
row[ROW_MARKUP] = self._build_vm_markup(row)
|
||||
|
||||
if config_changed:
|
||||
- row[ROW_HINT] = desc
|
||||
+ row[ROW_HINT] = vm.get_description()
|
||||
|
||||
model.row_changed(row.path, row.iter)
|
||||
|
Loading…
Reference in New Issue
Block a user