Author: ansgar-guest Date: 2009-03-05 21:38:16 +0000 (Thu, 05 Mar 2009) New Revision: 9034
Added: packages/trunk/gnome-chess/debian/patches/50_send_return.diff Modified: packages/trunk/gnome-chess/debian/changelog packages/trunk/gnome-chess/debian/patches/series Log: * Allow to send return to server (Closes: #517453) + New patch 50_send_return.diff Modified: packages/trunk/gnome-chess/debian/changelog =================================================================== --- packages/trunk/gnome-chess/debian/changelog 2009-03-05 13:21:31 UTC (rev 9033) +++ packages/trunk/gnome-chess/debian/changelog 2009-03-05 21:38:16 UTC (rev 9034) @@ -1,8 +1,9 @@ gnome-chess (0.4.0-4) UNRELEASED; urgency=low - * NOT RELEASED YET + * Allow to send return to server (Closes: #517453) + + New patch 50_send_return.diff - -- Barry deFreese <[email protected]> Fri, 31 Oct 2008 14:26:56 -0400 + -- Ansgar Burchardt <[email protected]> Thu, 05 Mar 2009 22:34:55 +0100 gnome-chess (0.4.0-3) unstable; urgency=medium Added: packages/trunk/gnome-chess/debian/patches/50_send_return.diff =================================================================== --- packages/trunk/gnome-chess/debian/patches/50_send_return.diff (rev 0) +++ packages/trunk/gnome-chess/debian/patches/50_send_return.diff 2009-03-05 21:38:16 UTC (rev 9034) @@ -0,0 +1,33 @@ +Subject: Allow sending empty lines to the server +From: Ansgar Burchardt <[email protected]> +Date: Thu, 05 Mar 2009 21:34:26 +0100 + +Internet chess servers ask to press return to enter a server as a guest, but +gnome-chess does not allow sending an empty line to the server. + +See http://bugs.debian.org/517453 + +--- gnome-chess-0.4.0.orig/src/server-term.c ++++ gnome-chess-0.4.0/src/server-term.c +@@ -433,9 +433,11 @@ + priv = term->priv; + + command = gtk_editable_get_chars (GTK_EDITABLE (widget), 0, -1); +- if (command == NULL || !strcmp (command, "")) ++ if (command == NULL) + return; + ++ if (strcmp (command, "")) { ++ + /* Push the current on to the stack */ + if (priv->current != NULL) + priv->above = g_list_prepend (priv->above, priv->current); +@@ -455,6 +457,8 @@ + priv->above = g_list_remove (priv->above, priv->above->data); + priv->above = g_list_prepend (priv->above, command); + priv->on_stack = FALSE; ++ ++ } + + gtk_signal_emit (GTK_OBJECT (term), + term_signals[COMMAND_SIGNAL], Modified: packages/trunk/gnome-chess/debian/patches/series =================================================================== --- packages/trunk/gnome-chess/debian/patches/series 2009-03-05 13:21:31 UTC (rev 9033) +++ packages/trunk/gnome-chess/debian/patches/series 2009-03-05 21:38:16 UTC (rev 9034) @@ -2,3 +2,4 @@ 20_i18n.diff 30_64bit.diff 40_double_frees.diff +50_send_return.diff _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

