]> Pileus Git - ~andy/gtk/commitdiff
Don't do special focus handling if draw_indicator is not set. (#64723,
authorOwen Taylor <otaylor@redhat.com>
Sat, 2 Mar 2002 21:18:07 +0000 (21:18 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Sat, 2 Mar 2002 21:18:07 +0000 (21:18 +0000)
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.)

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkradiobutton.c

index e1a60c606f667c9c4842c48593f220c4642b850c..24b0b35f6dc683ab20619a2965586eabf9baf637 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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,
index e1a60c606f667c9c4842c48593f220c4642b850c..24b0b35f6dc683ab20619a2965586eabf9baf637 100644 (file)
@@ -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,
index e1a60c606f667c9c4842c48593f220c4642b850c..24b0b35f6dc683ab20619a2965586eabf9baf637 100644 (file)
@@ -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,
index e1a60c606f667c9c4842c48593f220c4642b850c..24b0b35f6dc683ab20619a2965586eabf9baf637 100644 (file)
@@ -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,
index e1a60c606f667c9c4842c48593f220c4642b850c..24b0b35f6dc683ab20619a2965586eabf9baf637 100644 (file)
@@ -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,
index e1a60c606f667c9c4842c48593f220c4642b850c..24b0b35f6dc683ab20619a2965586eabf9baf637 100644 (file)
@@ -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,
index e1a60c606f667c9c4842c48593f220c4642b850c..24b0b35f6dc683ab20619a2965586eabf9baf637 100644 (file)
@@ -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,
index 50498e929b60209e6511979384e890cfa79798d0..deb0ba237ba61f470d6507ab14d08d28dbf89e55 100644 (file)
@@ -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))
     {