[Python-apps-commits] r2672 - in packages/wicd/trunk/debian (2 files)
hanska-guest at users.alioth.debian.org
hanska-guest at users.alioth.debian.org
Tue Mar 31 14:43:46 UTC 2009
Date: Tuesday, March 31, 2009 @ 14:43:45
Author: hanska-guest
Revision: 2672
debian/patches/09-fix_wire_plugging_detection.patch fixed
(Closes: #522057)
Modified:
packages/wicd/trunk/debian/changelog
packages/wicd/trunk/debian/patches/09-fix_wire_plugging_detection.patch
Modified: packages/wicd/trunk/debian/changelog
===================================================================
--- packages/wicd/trunk/debian/changelog 2009-03-30 12:45:14 UTC (rev 2671)
+++ packages/wicd/trunk/debian/changelog 2009-03-31 14:43:45 UTC (rev 2672)
@@ -1,10 +1,12 @@
wicd (1.5.9-6) UNRELEASED; urgency=low
+ * debian/patches/09-fix_wire_plugging_detection.patch fixed
+ (Closes: #522057)
* debian/patches/10-add_udhcpc_support.patch added, thanks to "madmo"
from the Wicd forums for making it, and to Luca Capello for fixing
and porting it (Closes: #520014)
- -- David Paleino <d.paleino at gmail.com> Sat, 28 Mar 2009 16:49:12 +0100
+ -- David Paleino <d.paleino at gmail.com> Tue, 31 Mar 2009 16:42:52 +0200
wicd (1.5.9-5) unstable; urgency=low
Modified: packages/wicd/trunk/debian/patches/09-fix_wire_plugging_detection.patch
===================================================================
--- packages/wicd/trunk/debian/patches/09-fix_wire_plugging_detection.patch 2009-03-30 12:45:14 UTC (rev 2671)
+++ packages/wicd/trunk/debian/patches/09-fix_wire_plugging_detection.patch 2009-03-31 14:43:45 UTC (rev 2672)
@@ -1,9 +1,9 @@
Fix detection of wire plugging/unplugging.
Patch provided by Giuseppe Martino <denever at truelite.it>, thank you!
---
- wicd/monitor.py | 11 +++++++++++
+ wicd/monitor.py | 10 ++++++++++
wicd/wicd-daemon.py | 12 ++++++++++++
- 2 files changed, 23 insertions(+)
+ 2 files changed, 22 insertions(+)
--- wicd-1.5.9.orig/wicd/monitor.py
+++ wicd-1.5.9/wicd/monitor.py
@@ -15,15 +15,14 @@
def check_for_wired_connection(self, wired_ip):
""" Checks for an active wired connection.
-@@ -160,6 +161,16 @@ class ConnectionStatus(object):
+@@ -160,6 +161,15 @@ class ConnectionStatus(object):
# Check for wired.
wired_ip = wired.GetWiredIP()
+
-+ if wired_ip is None:
-+ if not self.plugged and wired.CheckPluggedIn():
-+ daemon.SendWirePluggedSignal()
-+ self.plugged = True
++ if not self.plugged and wired.CheckPluggedIn():
++ daemon.SendWirePluggedSignal()
++ self.plugged = True
+
+ if self.plugged and not wired.CheckPluggedIn():
+ daemon.SendWireUnpluggedSignal()
More information about the Python-apps-commits
mailing list