forked from AuroraMiddleware/gtk
Don't loop forever here, even if the only focusable widgets are labels.
2005-01-20 Matthias Clasen <mclasen@redhat.com> * gtk/gtkdialog.c (gtk_dialog_map): Don't loop forever here, even if the only focusable widgets are labels.
This commit is contained in:
parent
9726395dd6
commit
357c4aa3bf
@ -1,3 +1,8 @@
|
|||||||
|
2005-01-20 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkdialog.c (gtk_dialog_map): Don't loop forever
|
||||||
|
here, even if the only focusable widgets are labels.
|
||||||
|
|
||||||
2005-01-20 Matthias Clasen <mclasen@redhat.com>
|
2005-01-20 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
Support tinting in GtkCellRendererPixbuf (#162903, Jorn Baayen):
|
Support tinting in GtkCellRendererPixbuf (#162903, Jorn Baayen):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2005-01-20 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkdialog.c (gtk_dialog_map): Don't loop forever
|
||||||
|
here, even if the only focusable widgets are labels.
|
||||||
|
|
||||||
2005-01-20 Matthias Clasen <mclasen@redhat.com>
|
2005-01-20 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
Support tinting in GtkCellRendererPixbuf (#162903, Jorn Baayen):
|
Support tinting in GtkCellRendererPixbuf (#162903, Jorn Baayen):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2005-01-20 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkdialog.c (gtk_dialog_map): Don't loop forever
|
||||||
|
here, even if the only focusable widgets are labels.
|
||||||
|
|
||||||
2005-01-20 Matthias Clasen <mclasen@redhat.com>
|
2005-01-20 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
Support tinting in GtkCellRendererPixbuf (#162903, Jorn Baayen):
|
Support tinting in GtkCellRendererPixbuf (#162903, Jorn Baayen):
|
||||||
|
@ -345,10 +345,16 @@ gtk_dialog_map (GtkWidget *widget)
|
|||||||
if (!window->focus_widget)
|
if (!window->focus_widget)
|
||||||
{
|
{
|
||||||
GList *children, *tmp_list;
|
GList *children, *tmp_list;
|
||||||
|
GtkWidget *first_focus = NULL;
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
g_signal_emit_by_name (window, "move_focus", GTK_DIR_TAB_FORWARD);
|
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));
|
while (GTK_IS_LABEL (window->focus_widget));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user