diff --git a/ChangeLog b/ChangeLog index 03231717ea..1b026ec63b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-04-29 Matthias Clasen + * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't + grab focus to unrealized widgets. (#302240, Philip Langdale) + * gtk/gtktreeview.c (gtk_tree_view_state_changed): Set background upon state changes. (#301651, Billy Biggs) (gtk_tree_view_get_path_at_pos): Take RTL into account diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 03231717ea..1b026ec63b 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2005-04-29 Matthias Clasen + * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't + grab focus to unrealized widgets. (#302240, Philip Langdale) + * gtk/gtktreeview.c (gtk_tree_view_state_changed): Set background upon state changes. (#301651, Billy Biggs) (gtk_tree_view_get_path_at_pos): Take RTL into account diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 03231717ea..1b026ec63b 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,8 @@ 2005-04-29 Matthias Clasen + * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't + grab focus to unrealized widgets. (#302240, Philip Langdale) + * gtk/gtktreeview.c (gtk_tree_view_state_changed): Set background upon state changes. (#301651, Billy Biggs) (gtk_tree_view_get_path_at_pos): Take RTL into account diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c index 3d2d54c517..1c42cf127f 100644 --- a/gtk/gtkradiobutton.c +++ b/gtk/gtkradiobutton.c @@ -515,7 +515,7 @@ gtk_radio_button_focus (GtkWidget *widget, { GtkWidget *child = tmp_list->data; - if (GTK_WIDGET_VISIBLE (child) && GTK_WIDGET_IS_SENSITIVE (child)) + if (GTK_WIDGET_REALIZED (child) && GTK_WIDGET_IS_SENSITIVE (child)) { new_focus = child; break; @@ -533,7 +533,7 @@ gtk_radio_button_focus (GtkWidget *widget, { GtkWidget *child = tmp_list->data; - if (GTK_WIDGET_VISIBLE (child) && GTK_WIDGET_IS_SENSITIVE (child)) + if (GTK_WIDGET_REALIZED (child) && GTK_WIDGET_IS_SENSITIVE (child)) { new_focus = child; break;