summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-03-02 21:18:07 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-03-02 21:18:07 +0000
commitaba1c9a76e4d3db7d1a02b4b09a7413433790fd5 (patch)
tree2223604994a5a6a831b879f8dc146e45e8c244f0
parent8d3278f076b813d43c7918e20eeeb3ddaa5f3dd2 (diff)
downloadgtk+-aba1c9a76e4d3db7d1a02b4b09a7413433790fd5.tar.gz
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.)
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-2-06
-rw-r--r--ChangeLog.pre-2-106
-rw-r--r--ChangeLog.pre-2-26
-rw-r--r--ChangeLog.pre-2-46
-rw-r--r--ChangeLog.pre-2-66
-rw-r--r--ChangeLog.pre-2-86
-rw-r--r--gtk/gtkradiobutton.c6
8 files changed, 48 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e1a60c606f..24b0b35f6d 100644
--- 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,
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index e1a60c606f..24b0b35f6d 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -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,
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index e1a60c606f..24b0b35f6d 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -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,
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index e1a60c606f..24b0b35f6d 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -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,
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index e1a60c606f..24b0b35f6d 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -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,
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index e1a60c606f..24b0b35f6d 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -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,
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index e1a60c606f..24b0b35f6d 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -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,
diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c
index 50498e929b..deb0ba237b 100644
--- a/gtk/gtkradiobutton.c
+++ b/gtk/gtkradiobutton.c
@@ -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))
{