mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-23 20:30:15 +00:00
Don't grab focus to unrealized widgets. (#302240, Philip Langdale)
2005-04-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't grab focus to unrealized widgets. (#302240, Philip Langdale)
This commit is contained in:
parent
6d0627cb0d
commit
6f2f51efc0
@ -1,5 +1,8 @@
|
||||
2005-04-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* 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
|
||||
|
@ -1,5 +1,8 @@
|
||||
2005-04-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* 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
|
||||
|
@ -1,5 +1,8 @@
|
||||
2005-04-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* 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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user