Don't do special focus handling if draw_indicator is not set. (#64723,
Sat Mar 2 16:12:03 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't do special focus handling if draw_indicator is not set. (#64723, Damon Chaplin.)
This commit is contained in:
parent
8d3278f076
commit
aba1c9a76e
@ -1,3 +1,9 @@
|
||||
Sat Mar 2 16:12:03 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
|
||||
do special focus handling if draw_indicator is not set.
|
||||
(#64723, Damon Chaplin.)
|
||||
|
||||
Sat Mar 2 15:48:04 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_new_with_max_length,
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Mar 2 16:12:03 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
|
||||
do special focus handling if draw_indicator is not set.
|
||||
(#64723, Damon Chaplin.)
|
||||
|
||||
Sat Mar 2 15:48:04 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_new_with_max_length,
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Mar 2 16:12:03 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
|
||||
do special focus handling if draw_indicator is not set.
|
||||
(#64723, Damon Chaplin.)
|
||||
|
||||
Sat Mar 2 15:48:04 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_new_with_max_length,
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Mar 2 16:12:03 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
|
||||
do special focus handling if draw_indicator is not set.
|
||||
(#64723, Damon Chaplin.)
|
||||
|
||||
Sat Mar 2 15:48:04 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_new_with_max_length,
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Mar 2 16:12:03 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
|
||||
do special focus handling if draw_indicator is not set.
|
||||
(#64723, Damon Chaplin.)
|
||||
|
||||
Sat Mar 2 15:48:04 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_new_with_max_length,
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Mar 2 16:12:03 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
|
||||
do special focus handling if draw_indicator is not set.
|
||||
(#64723, Damon Chaplin.)
|
||||
|
||||
Sat Mar 2 15:48:04 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_new_with_max_length,
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Mar 2 16:12:03 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
|
||||
do special focus handling if draw_indicator is not set.
|
||||
(#64723, Damon Chaplin.)
|
||||
|
||||
Sat Mar 2 15:48:04 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_new_with_max_length,
|
||||
|
@ -387,6 +387,12 @@ gtk_radio_button_focus (GtkWidget *widget,
|
||||
{
|
||||
GtkRadioButton *radio_button = GTK_RADIO_BUTTON (widget);
|
||||
GSList *tmp_slist;
|
||||
|
||||
/* Radio buttons with draw_indicator unset focus "normally", since
|
||||
* they look like buttons to the user.
|
||||
*/
|
||||
if (!GTK_TOGGLE_BUTTON (widget)->draw_indicator)
|
||||
return GTK_WIDGET_CLASS (parent_class)->focus (widget, direction);
|
||||
|
||||
if (gtk_widget_is_focus (widget))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user