Bug#293762: Found the patch
John Goerzen
John Goerzen <jgoerzen@complete.org>, 293762@bugs.debian.org
Sun, 6 Feb 2005 12:00:17 -0600
--BOKacYhQ+x31HxR3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
tags 293762 patch
thanks
I found and have attached the patch.
--
John Goerzen
Author, Foundations of Python Network Programming
http://www.amazon.com/exec/obidos/tg/detail/-/1590593715
--BOKacYhQ+x31HxR3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="00-gtk+-2.6.1-gtk_dialog_map-do-not-loop-forever.patch"
diff -Naur gtk+-2.6.1.orig/gtk/gtkdialog.c gtk+-2.6.1/gtk/gtkdialog.c
--- gtk+-2.6.1.orig/gtk/gtkdialog.c 2005-01-03 18:40:36.000000000 +0100
+++ gtk+-2.6.1/gtk/gtkdialog.c 2005-01-21 10:31:17.072576888 +0100
@@ -345,10 +345,16 @@
if (!window->focus_widget)
{
GList *children, *tmp_list;
+ GtkWidget *first_focus = NULL;
do
{
g_signal_emit_by_name (window, "move_focus", GTK_DIR_TAB_FORWARD);
+
+ if (first_focus == NULL)
+ first_focus = window->focus_widget;
+ else if (first_focus == window->focus_widget)
+ break;
}
while (GTK_IS_LABEL (window->focus_widget));
--BOKacYhQ+x31HxR3--