From c431ffffc63bab8bfd9c0372ab33b082cb4caa8d Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Thu, 24 Jan 2002 01:36:39 +0000 Subject: [PATCH] Use insensitive state for insensitive arrows, not just an "etched state". Wed Jan 23 20:28:59 2002 Owen Taylor * gtk/gtknotebook.c (gtk_notebook_draw_arrow): Use insensitive state for insensitive arrows, not just an "etched state". (#67172, Adrian Custer) --- ChangeLog | 6 ++++++ ChangeLog.pre-2-0 | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-2 | 6 ++++++ ChangeLog.pre-2-4 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ gtk/gtknotebook.c | 4 ++-- 8 files changed, 44 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 35328725c5..ce91881309 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed Jan 23 20:28:59 2002 Owen Taylor + + * gtk/gtknotebook.c (gtk_notebook_draw_arrow): + Use insensitive state for insensitive arrows, not + just an "etched state". (#67172, Adrian Custer) + 2002-01-23 Manish Singh * gtk/gtkentry.c (gtk_entry_set_text): use a variable that's actually diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 35328725c5..ce91881309 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +Wed Jan 23 20:28:59 2002 Owen Taylor + + * gtk/gtknotebook.c (gtk_notebook_draw_arrow): + Use insensitive state for insensitive arrows, not + just an "etched state". (#67172, Adrian Custer) + 2002-01-23 Manish Singh * gtk/gtkentry.c (gtk_entry_set_text): use a variable that's actually diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 35328725c5..ce91881309 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Wed Jan 23 20:28:59 2002 Owen Taylor + + * gtk/gtknotebook.c (gtk_notebook_draw_arrow): + Use insensitive state for insensitive arrows, not + just an "etched state". (#67172, Adrian Custer) + 2002-01-23 Manish Singh * gtk/gtkentry.c (gtk_entry_set_text): use a variable that's actually diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 35328725c5..ce91881309 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +Wed Jan 23 20:28:59 2002 Owen Taylor + + * gtk/gtknotebook.c (gtk_notebook_draw_arrow): + Use insensitive state for insensitive arrows, not + just an "etched state". (#67172, Adrian Custer) + 2002-01-23 Manish Singh * gtk/gtkentry.c (gtk_entry_set_text): use a variable that's actually diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 35328725c5..ce91881309 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Wed Jan 23 20:28:59 2002 Owen Taylor + + * gtk/gtknotebook.c (gtk_notebook_draw_arrow): + Use insensitive state for insensitive arrows, not + just an "etched state". (#67172, Adrian Custer) + 2002-01-23 Manish Singh * gtk/gtkentry.c (gtk_entry_set_text): use a variable that's actually diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 35328725c5..ce91881309 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Wed Jan 23 20:28:59 2002 Owen Taylor + + * gtk/gtknotebook.c (gtk_notebook_draw_arrow): + Use insensitive state for insensitive arrows, not + just an "etched state". (#67172, Adrian Custer) + 2002-01-23 Manish Singh * gtk/gtkentry.c (gtk_entry_set_text): use a variable that's actually diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 35328725c5..ce91881309 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Wed Jan 23 20:28:59 2002 Owen Taylor + + * gtk/gtknotebook.c (gtk_notebook_draw_arrow): + Use insensitive state for insensitive arrows, not + just an "etched state". (#67172, Adrian Custer) + 2002-01-23 Manish Singh * gtk/gtkentry.c (gtk_entry_set_text): use a variable that's actually diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index d1f725d293..ff90de2b2a 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -2713,7 +2713,7 @@ gtk_notebook_draw_arrow (GtkNotebook *notebook, STEP_PREV, TRUE)) { shadow_type = GTK_SHADOW_ETCHED_IN; - state_type = GTK_STATE_NORMAL; + state_type = GTK_STATE_INSENSITIVE; } if (notebook->tab_pos == GTK_POS_LEFT || @@ -2732,7 +2732,7 @@ gtk_notebook_draw_arrow (GtkNotebook *notebook, STEP_NEXT, TRUE)) { shadow_type = GTK_SHADOW_ETCHED_IN; - state_type = GTK_STATE_NORMAL; + state_type = GTK_STATE_INSENSITIVE; } if (notebook->tab_pos == GTK_POS_LEFT ||