Make activating vpn connections work from the shell indicator
This commit is contained in:
parent
74f824c039
commit
a02f481295
@ -0,0 +1,29 @@
|
|||||||
|
From d49e2bf7712002f8fe09597ee153c426e1627460 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Christopher Aillon <caillon@redhat.com>
|
||||||
|
Date: Thu, 24 Mar 2011 21:04:31 -0700
|
||||||
|
Subject: [PATCH] Account for nm_client_activate_connection API change
|
||||||
|
|
||||||
|
based on a suggestion by Ray Strode.
|
||||||
|
---
|
||||||
|
js/ui/status/network.js | 3 +--
|
||||||
|
1 files changed, 1 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
|
||||||
|
index e57349a..a5a25fe 100644
|
||||||
|
--- a/js/ui/status/network.js
|
||||||
|
+++ b/js/ui/status/network.js
|
||||||
|
@@ -552,10 +552,9 @@ NMDevice.prototype = {
|
||||||
|
},
|
||||||
|
|
||||||
|
_createConnectionItem: function(obj) {
|
||||||
|
- let path = obj.connection.path;
|
||||||
|
let item = new PopupMenu.PopupMenuItem(obj.name);
|
||||||
|
item.connect('activate', Lang.bind(this, function() {
|
||||||
|
- this._client.activate_connection(path, this.device, null, null);
|
||||||
|
+ this._client.activate_connection(obj.connection, this.device, null, null);
|
||||||
|
}));
|
||||||
|
return item;
|
||||||
|
},
|
||||||
|
--
|
||||||
|
1.7.4.1
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: gnome-shell
|
Name: gnome-shell
|
||||||
Version: 2.91.92
|
Version: 2.91.92
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Window management and application launching for GNOME
|
Summary: Window management and application launching for GNOME
|
||||||
|
|
||||||
Group: User Interface/Desktops
|
Group: User Interface/Desktops
|
||||||
@ -8,6 +8,7 @@ License: GPLv2+
|
|||||||
URL: http://live.gnome.org/GnomeShell
|
URL: http://live.gnome.org/GnomeShell
|
||||||
#VCS: git:git://git.gnome.org/gnome-shell
|
#VCS: git:git://git.gnome.org/gnome-shell
|
||||||
Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/2.91/%{name}-%{version}.tar.bz2
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/2.91/%{name}-%{version}.tar.bz2
|
||||||
|
Patch0: 0001-Account-for-nm_client_activate_connection-API-change.patch
|
||||||
|
|
||||||
%define clutter_version 1.4.0
|
%define clutter_version 1.4.0
|
||||||
%define gobject_introspection_version 0.10.1
|
%define gobject_introspection_version 0.10.1
|
||||||
@ -74,6 +75,7 @@ easy to use experience.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .nm09-api
|
||||||
|
|
||||||
%build
|
%build
|
||||||
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;
|
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;
|
||||||
@ -133,6 +135,9 @@ gconftool-2 --makefile-install-rule \
|
|||||||
glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas ||:
|
glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas ||:
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 24 2011 Christopher Aillon <caillon@redhat.com> - 2.91.92-2
|
||||||
|
- Make activating vpn connections work from the shell indicator
|
||||||
|
|
||||||
* Wed Mar 23 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.92-1
|
* Wed Mar 23 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.92-1
|
||||||
- Update to 2.91.92
|
- Update to 2.91.92
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user