Select manager row on right click, regressed with 0.8.1

This commit is contained in:
Cole Robinson 2009-12-09 21:24:10 +00:00
parent db4fb769c1
commit 03a23f423c
2 changed files with 36 additions and 2 deletions

View File

@ -0,0 +1,28 @@
# HG changeset patch
# User Cole Robinson <crobinso@redhat.com>
# 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 #

View File

@ -8,7 +8,7 @@
Name: virt-manager Name: virt-manager
Version: 0.8.1 Version: 0.8.1
Release: 2%{_extra_release} Release: 3%{_extra_release}
Summary: Virtual Machine Manager Summary: Virtual Machine Manager
Group: Applications/Emulators Group: Applications/Emulators
@ -19,6 +19,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
# Check QEMU permissions against the qemu user # Check QEMU permissions against the qemu user
Patch1: %{name}-%{version}-perms-qemu-user.patch 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 # These two are just the oldest version tested
Requires: pygtk2 >= 1.99.12-6 Requires: pygtk2 >= 1.99.12-6
@ -38,7 +40,7 @@ Requires: gnome-python2-gnomekeyring >= 2.15.4
# Minimum we've tested with # Minimum we've tested with
Requires: libxml2-python >= 2.6.23 Requires: libxml2-python >= 2.6.23
# Required to install Xen & QEMU guests # 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 # Required for loading the glade UI
Requires: pygtk2-libglade Requires: pygtk2-libglade
# Required for our graphics which are currently SVG format # Required for our graphics which are currently SVG format
@ -78,6 +80,7 @@ management API.
%prep %prep
%setup -q %setup -q
%patch1 -p1 %patch1 -p1
%patch2 -p1
%build %build
%configure %configure
@ -151,6 +154,9 @@ fi
%{_datadir}/dbus-1/services/%{name}.service %{_datadir}/dbus-1/services/%{name}.service
%changelog %changelog
* Wed Dec 09 2009 Cole Robinson <crobinso@redhat.com> - 0.8.1-3.fc13
- Select manager row on right click, regressed with 0.8.1
* Sat Dec 5 2009 Cole Robinson <crobinso@redhat.com> - 0.8.1-2.fc13 * Sat Dec 5 2009 Cole Robinson <crobinso@redhat.com> - 0.8.1-2.fc13
- Set proper version Requires: for python-virtinst - Set proper version Requires: for python-virtinst