[wicd/f14] Initialize appGui._wired_showing in __init__ (#731163)

David Cantrell dcantrel at fedoraproject.org
Fri Aug 19 19:02:54 UTC 2011


commit 4ed1559ef6e1d614ceb22af1a61b3ac36d5692e0
Author: David Cantrell <dcantrell at redhat.com>
Date:   Fri Aug 19 14:57:41 2011 -0400

    Initialize appGui._wired_showing in __init__ (#731163)

 wicd-1.7.0-wired_showing.patch |   11 +++++++++++
 wicd.spec                      |    9 ++++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/wicd-1.7.0-wired_showing.patch b/wicd-1.7.0-wired_showing.patch
new file mode 100644
index 0000000..275e4f3
--- /dev/null
+++ b/wicd-1.7.0-wired_showing.patch
@@ -0,0 +1,11 @@
+diff -up wicd-1.7.0/gtk/gui.py.orig wicd-1.7.0/gtk/gui.py
+--- wicd-1.7.0/gtk/gui.py.orig	2011-08-19 14:53:37.667180427 -0400
++++ wicd-1.7.0/gtk/gui.py	2011-08-19 14:55:43.657056952 -0400
+@@ -220,6 +220,7 @@ class appGui(object):
+         self.refreshing = False
+         self.prev_state = None
+         self.update_cb = None
++        self._wired_showing = False
+         self.network_list.set_sensitive(False)
+         label = gtk.Label("%s..." % language['scanning'])
+         self.network_list.pack_start(label)
diff --git a/wicd.spec b/wicd.spec
index 47b8533..8558ecd 100644
--- a/wicd.spec
+++ b/wicd.spec
@@ -7,7 +7,7 @@
 
 Name:             wicd
 Version:          1.7.0
-Release:          6%{?dist}
+Release:          7%{?dist}
 Summary:          Wireless and wired network connection manager
 
 Group:            System Environment/Base
@@ -19,6 +19,7 @@ Patch0:           wicd-1.7.0-remove-WHEREAREMYFILES.patch
 Patch1:           wicd-1.7.0-initscript.patch
 Patch2:           wicd-1.7.0-deepcopy.patch
 Patch3:           wicd-1.7.0-dbus-failure.patch
+Patch4:           wicd-1.7.0-wired_showing.patch
 
 BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
 BuildRequires:    python2-devel
@@ -95,6 +96,9 @@ Client program for wicd that uses a GTK+ interface.
 # Handle D-Bus connection failures a little better
 %patch3 -p1
 
+# Initialize appGui._wired_showing in __init__
+%patch4 -p1
+
 %build
 # NOTE: --etc is where dhclient.conf.template goes
 %{__python} setup.py configure \
@@ -260,6 +264,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_datadir}/icons/hicolor/scalable/apps/wicd-gtk.svg
 
 %changelog
+* Fri Aug 19 2011 David Cantrell <dcantrell at redhat.com> - 1.7.0-7
+- Initialize appGui._wired_showing in __init__ (#731163)
+
 * Tue Aug 09 2011 David Cantrell <dcantrell at redhat.com> - 1.7.0-6
 - Actually apply the D-Bus connection failure patch (#713109)
 


More information about the scm-commits mailing list