r36576 - in /desktop/unstable/gnome-shell/debian: changelog patches/40-force-online.patch patches/series
biebl at users.alioth.debian.org
biebl at users.alioth.debian.org
Mon Jan 14 23:45:08 UTC 2013
Author: biebl
Date: Mon Jan 14 23:45:08 2013
New Revision: 36576
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=36576
Log:
40-force-online.patch: If NM has an active unmanaged device it will
forcefully set the online state to CONNECTED_GLOBAL. In that case show a
wired connection icon instead of an offline icon. Closes: #691436
Added:
desktop/unstable/gnome-shell/debian/patches/40-force-online.patch
Modified:
desktop/unstable/gnome-shell/debian/changelog
desktop/unstable/gnome-shell/debian/patches/series
Modified: desktop/unstable/gnome-shell/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-shell/debian/changelog?rev=36576&op=diff
==============================================================================
--- desktop/unstable/gnome-shell/debian/changelog [utf-8] (original)
+++ desktop/unstable/gnome-shell/debian/changelog [utf-8] Mon Jan 14 23:45:08 2013
@@ -18,6 +18,9 @@
* 05-NetworkMenu-fix-updating-connection-lists.patch: Properly update the
Network UI when connections change their name or id. Patch cherry-picked
from upstream Git.
+ * 40-force-online.patch: If NM has an active unmanaged device it will
+ forcefully set the online state to CONNECTED_GLOBAL. In that case show a
+ wired connection icon instead of an offline icon. Closes: #691436
-- Josselin Mouette <joss at debian.org> Mon, 14 Jan 2013 16:22:43 +0100
Added: desktop/unstable/gnome-shell/debian/patches/40-force-online.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-shell/debian/patches/40-force-online.patch?rev=36576&op=file
==============================================================================
--- desktop/unstable/gnome-shell/debian/patches/40-force-online.patch (added)
+++ desktop/unstable/gnome-shell/debian/patches/40-force-online.patch [utf-8] Mon Jan 14 23:45:08 2013
@@ -1,0 +1,26 @@
+Description: Show wired connection icon if NM has an active unmanaged device
+ If NM has an active unmanaged device it will forcefully set the online
+ state to CONNECTED_GLOBAL. In that case show a wired connection icon
+ instead of an offline icon
+Author: Michael Biebl <biebl at debian.org>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691436
+Index: gnome-shell-3.4.2/js/ui/status/network.js
+===================================================================
+--- gnome-shell-3.4.2.orig/js/ui/status/network.js 2013-01-15 00:12:23.921878067 +0100
++++ gnome-shell-3.4.2/js/ui/status/network.js 2013-01-15 00:12:23.913877995 +0100
+@@ -2017,9 +2017,14 @@
+ let mc = this._mainConnection;
+ let hasApIcon = false;
+ let hasMobileIcon = false;
++ let state = this._client.get_state();
+
+ if (!mc) {
+- this.setIcon('network-offline');
++ if (state == NetworkManager.State.CONNECTED_GLOBAL) {
++ this.setIcon('network-wired-connected');
++ } else {
++ this.setIcon('network-offline');
++ }
+ } else if (mc.state == NetworkManager.ActiveConnectionState.ACTIVATING) {
+ switch (mc._section) {
+ case NMConnectionCategory.WWAN:
Modified: desktop/unstable/gnome-shell/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-shell/debian/patches/series?rev=36576&op=diff
==============================================================================
--- desktop/unstable/gnome-shell/debian/patches/series [utf-8] (original)
+++ desktop/unstable/gnome-shell/debian/patches/series [utf-8] Mon Jan 14 23:45:08 2013
@@ -14,3 +14,4 @@
30_lockup_gc.patch
32-enable-the-screen-reader-menu-item.patch
33-screen-reader-l10n.patch
+40-force-online.patch
More information about the pkg-gnome-commits
mailing list