[wicd/f21] self.prog_name -> self.prof_name in netentry_curses.py (#1162118)

David Cantrell dcantrel at fedoraproject.org
Tue Nov 25 16:28:35 UTC 2014


commit 162636b2f5e97207e1b3d6ed34a4d9200a1d6cf9
Author: David Cantrell <dcantrell at redhat.com>
Date:   Tue Nov 25 11:28:16 2014 -0500

    self.prog_name -> self.prof_name in netentry_curses.py (#1162118)

 wicd-1.7.2.4-prof_name.patch |   12 ++++++++++++
 wicd.spec                    |    9 ++++++++-
 2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/wicd-1.7.2.4-prof_name.patch b/wicd-1.7.2.4-prof_name.patch
new file mode 100644
index 0000000..796647f
--- /dev/null
+++ b/wicd-1.7.2.4-prof_name.patch
@@ -0,0 +1,12 @@
+diff -up wicd-1.7.2.4/curses/netentry_curses.py.orig wicd-1.7.2.4/curses/netentry_curses.py
+--- wicd-1.7.2.4/curses/netentry_curses.py.orig	2014-11-25 11:22:47.141413897 -0500
++++ wicd-1.7.2.4/curses/netentry_curses.py	2014-11-25 11:25:19.904413897 -0500
+@@ -264,7 +264,7 @@ class WiredSettingsDialog(AdvancedSettin
+         self.set_values()
+         
+         self.prof_name = name
+-        title = ''.join([_('Configuring preferences for wired profile'), self.prog_name])
++        title = ''.join([_('Configuring preferences for wired profile'), self.prof_name])
+         self._w.header = urwid.Text( ('header',title),align='right' )
+ 
+         self.set_values()
diff --git a/wicd.spec b/wicd.spec
index 8346f1c..a5dcaf0 100644
--- a/wicd.spec
+++ b/wicd.spec
@@ -9,7 +9,7 @@
 
 Name:                wicd
 Version:             1.7.2.4
-Release:             14%{?dist}
+Release:             15%{?dist}
 Summary:             Wireless and wired network connection manager
 
 Group:               System Environment/Base
@@ -27,6 +27,7 @@ Patch5:              770_769.diff
 Patch6:              wicd-1.7.2.4-curses_bz894646.patch
 Patch7:              wicd-1.7.2.4-sanitize.patch
 Patch8:              wicd-1.7.2.4-translate-args.patch
+Patch9:              wicd-1.7.2.4-prof_name.patch
 
 BuildRoot:           %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
 BuildRequires:       babel
@@ -127,6 +128,9 @@ Client program for wicd that uses a GTK+ interface.
 # translate() on a string requires the table as the first argument
 # https://bugzilla.redhat.com/show_bug.cgi?id=1005515
 %patch8 -p1
+
+# self.prog_name should be self.prof_name (#1162118)
+%patch9 -p1
  
 %build
 rm -f po/ast.po
@@ -297,6 +301,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_datadir}/icons/hicolor/scalable/apps/wicd-gtk.svg
 
 %changelog
+* Tue Nov 25 2014 David Cantrell <dcantrell at redhat.com> - 1.7.2.4-15
+- self.prog_name -> self.prof_name in netentry_curses.py (#1162118)
+
 * Mon Sep 29 2014 David Cantrell <dcantrell at redhat.com> - 1.7.2.4-14
 - Remove check for daemon patch (#1074315)
 


More information about the scm-commits mailing list