From 03a23f423c93f63eabc3ed2163dd46b44bf62a29 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Dec 09 2009 21:24:10 +0000 Subject: Select manager row on right click, regressed with 0.8.1 --- diff --git a/virt-manager-0.8.1-select-right-click.patch b/virt-manager-0.8.1-select-right-click.patch new file mode 100644 index 0000000..ea92980 --- /dev/null +++ b/virt-manager-0.8.1-select-right-click.patch @@ -0,0 +1,28 @@ +# HG changeset patch +# User Cole Robinson +# Date 1260376118 18000 +# Node ID b69f023023414ab3ca7d7f818beb710a04aa409b +# Parent 79c021ce411081dbb06b90952a5cf0003b170043 +manager: Change the selection to the row we right click on + +diff -r 79c021ce4110 -r b69f02302341 src/virtManager/manager.py +--- a/src/virtManager/manager.py Wed Dec 09 10:58:47 2009 -0500 ++++ b/src/virtManager/manager.py Wed Dec 09 11:28:38 2009 -0500 +@@ -1049,7 +1049,7 @@ + _iter = model.get_iter(path) + + self.popup_vm_menu(model, _iter, event) +- return True ++ return False + + def popup_vm_menu(self, model, _iter, event): + if model.iter_parent(_iter) != None: +@@ -1090,8 +1090,6 @@ + + self.connmenu.popup(None, None, None, 0, event.time) + +- return False +- + + ################# + # Stats methods # diff --git a/virt-manager.spec b/virt-manager.spec index eca4b23..ef31681 100644 --- a/virt-manager.spec +++ b/virt-manager.spec @@ -8,7 +8,7 @@ Name: virt-manager Version: 0.8.1 -Release: 2%{_extra_release} +Release: 3%{_extra_release} Summary: Virtual Machine Manager Group: Applications/Emulators @@ -19,6 +19,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # Check QEMU permissions against the qemu user Patch1: %{name}-%{version}-perms-qemu-user.patch +# Select manager row on right click, regressed with 0.8.1 +Patch2: %{name}-%{version}-select-right-click.patch # These two are just the oldest version tested Requires: pygtk2 >= 1.99.12-6 @@ -38,7 +40,7 @@ Requires: gnome-python2-gnomekeyring >= 2.15.4 # Minimum we've tested with Requires: libxml2-python >= 2.6.23 # Required to install Xen & QEMU guests -Requires: python-virtinst >= 0.500.1 +Requires: python-virtinst >= 0.500.1-2 # Required for loading the glade UI Requires: pygtk2-libglade # Required for our graphics which are currently SVG format @@ -78,6 +80,7 @@ management API. %prep %setup -q %patch1 -p1 +%patch2 -p1 %build %configure @@ -151,6 +154,9 @@ fi %{_datadir}/dbus-1/services/%{name}.service %changelog +* Wed Dec 09 2009 Cole Robinson - 0.8.1-3.fc13 +- Select manager row on right click, regressed with 0.8.1 + * Sat Dec 5 2009 Cole Robinson - 0.8.1-2.fc13 - Set proper version Requires: for python-virtinst