[pioneers/f12/master] * Sun Aug 1 2010 Paul W. Frields <pfrields at localhost.localdomain> - 0.12.2-5 - Fix callback for nam
Paul W. Frields
pfrields at fedoraproject.org
Thu Aug 5 11:08:54 UTC 2010
commit 5e88a33fe0aea85ea4bccb284378fb93bf91c7c4
Author: Paul W. Frields <stickster at gmail.com>
Date: Sun Aug 1 18:14:32 2010 -0400
* Sun Aug 1 2010 Paul W. Frields <pfrields at localhost.localdomain> - 0.12.2-5
- Fix callback for name changes (#594858)
pioneers-0.12.2-namechange.patch | 12 ++++++++++++
pioneers.spec | 7 ++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/pioneers-0.12.2-namechange.patch b/pioneers-0.12.2-namechange.patch
new file mode 100644
index 0000000..a1b30b0
--- /dev/null
+++ b/pioneers-0.12.2-namechange.patch
@@ -0,0 +1,12 @@
+diff -uNr pioneers-0.12.2-orig/client/gtk/name.c pioneers-0.12.2/client/gtk/name.c
+--- pioneers-0.12.2-orig/client/gtk/name.c 2008-05-01 15:05:57.000000000 -0400
++++ pioneers-0.12.2/client/gtk/name.c 2010-08-01 17:29:58.284181851 -0400
+@@ -47,7 +47,7 @@
+ gpointer user_data)
+ {
+ DialogData *dialog = user_data;
+- if (response_id == GTK_RESPONSE_OK) {
++ if ((response_id == GTK_RESPONSE_OK) && (callback_mode != MODE_INIT)) {
+ const gchar *new_name =
+ gtk_entry_get_text(GTK_ENTRY(dialog->name_entry));
+ const gchar *new_style = dialog->current_style;
diff --git a/pioneers.spec b/pioneers.spec
index b8b53da..016171c 100644
--- a/pioneers.spec
+++ b/pioneers.spec
@@ -1,12 +1,13 @@
Name: pioneers
Version: 0.12.2
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Turnbased board strategy game (colonize an island)
Group: Amusements/Games
License: GPLv2+
URL: http://pio.sourceforge.net/
Source0: http://downloads.sourceforge.net/pio/%{name}-%{version}.tar.gz
Patch0: pioneers-0.12.1-sanitize.patch
+Patch1: pioneers-0.12.2-namechange.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libgnome-devel gtk2-devel gettext scrollkeeper
BuildRequires: perl(XML::Parser) desktop-file-utils
@@ -40,6 +41,7 @@ edited graphically.
%prep
%setup -q
%patch0 -p1 -z .sanitize
+%patch1 -p1 -z .namechange
%build
@@ -109,6 +111,9 @@ scrollkeeper-update -q || :
%changelog
+* Sun Aug 1 2010 Paul W. Frields <pfrields at localhost.localdomain> - 0.12.2-5
+- Fix callback for name changes (#594858)
+
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.12.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
More information about the scm-commits
mailing list