NetworkStatus: fix vpn indicator
It looks like a part of the code wasn't updated to reflect a variable name change.
This commit is contained in:
parent
27221984c4
commit
7e9be7cd70
27
fix-vpn-indicator.patch
Normal file
27
fix-vpn-indicator.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
From 3af64ea2d2a0b76da1a974966d9be21779e308e8 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Ray Strode <rstrode@redhat.com>
|
||||||
|
Date: Fri, 25 Mar 2011 09:49:15 -0400
|
||||||
|
Subject: [PATCH] NetworkStatus: fix vpn indicator
|
||||||
|
|
||||||
|
It looks like a part of the code wasn't updated to reflect
|
||||||
|
a variable name change.
|
||||||
|
---
|
||||||
|
js/ui/status/network.js | 2 +-
|
||||||
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
|
||||||
|
index 7990332..4bfbd21 100644
|
||||||
|
--- a/js/ui/status/network.js
|
||||||
|
+++ b/js/ui/status/network.js
|
||||||
|
@@ -1752,7 +1752,7 @@ NMApplet.prototype = {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else
|
||||||
|
- a._primaryDevice = this._vpnDevice;
|
||||||
|
+ a._primaryDevice = this._devices.vpn.device
|
||||||
|
|
||||||
|
if (a._primaryDevice)
|
||||||
|
a._primaryDevice.setActiveConnection(a);
|
||||||
|
--
|
||||||
|
1.7.4.1
|
||||||
|
|
@ -9,6 +9,7 @@ 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
|
Patch0: 0001-Account-for-nm_client_activate_connection-API-change.patch
|
||||||
|
Patch1: fix-vpn-indicator.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
|
||||||
@ -76,6 +77,7 @@ easy to use experience.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .nm09-api
|
%patch0 -p1 -b .nm09-api
|
||||||
|
%patch1 -p1 -b .fix-vpn-indicator
|
||||||
|
|
||||||
%build
|
%build
|
||||||
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;
|
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;
|
||||||
@ -137,6 +139,7 @@ glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas ||:
|
|||||||
%changelog
|
%changelog
|
||||||
* Fri Mar 25 2011 Ray Strode <rstrode@redhat.com> 2.91.92-3
|
* Fri Mar 25 2011 Ray Strode <rstrode@redhat.com> 2.91.92-3
|
||||||
- Adjustments for More nm-client api changes.
|
- Adjustments for More nm-client api changes.
|
||||||
|
- Fix VPN indicator
|
||||||
|
|
||||||
* Thu Mar 24 2011 Christopher Aillon <caillon@redhat.com> - 2.91.92-2
|
* Thu Mar 24 2011 Christopher Aillon <caillon@redhat.com> - 2.91.92-2
|
||||||
- Make activating vpn connections work from the shell indicator
|
- Make activating vpn connections work from the shell indicator
|
||||||
|
Loading…
Reference in New Issue
Block a user