From ebce1f7954757b46c58c3de0f924007aeaebad72 Mon Sep 17 00:00:00 2001 From: Jay Painter Date: Sat, 13 Dec 1997 19:32:00 +0000 Subject: [PATCH] Added focus flag to gtk/gtkvscrollbar.c so it can get keyboard focus. -Jay --- ChangeLog | 4 ++++ ChangeLog.pre-2-0 | 4 ++++ ChangeLog.pre-2-10 | 4 ++++ ChangeLog.pre-2-2 | 4 ++++ ChangeLog.pre-2-4 | 4 ++++ ChangeLog.pre-2-6 | 4 ++++ ChangeLog.pre-2-8 | 4 ++++ gtk/gtkvscrollbar.c | 1 + 8 files changed, 29 insertions(+) diff --git a/ChangeLog b/ChangeLog index ebde046c17..417f47707a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Dec 13 Jay Painter + * gtk/gtkvscrollbar.c: added focus flag so vertical scrollbars + can get keyboard focus + Fri Dec 12 Owen Taylor * Removed warning when XGetWindowProperty fails - this can be the desired behavior. diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index ebde046c17..417f47707a 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,7 @@ +Sat Dec 13 Jay Painter + * gtk/gtkvscrollbar.c: added focus flag so vertical scrollbars + can get keyboard focus + Fri Dec 12 Owen Taylor * Removed warning when XGetWindowProperty fails - this can be the desired behavior. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index ebde046c17..417f47707a 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,7 @@ +Sat Dec 13 Jay Painter + * gtk/gtkvscrollbar.c: added focus flag so vertical scrollbars + can get keyboard focus + Fri Dec 12 Owen Taylor * Removed warning when XGetWindowProperty fails - this can be the desired behavior. diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index ebde046c17..417f47707a 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,7 @@ +Sat Dec 13 Jay Painter + * gtk/gtkvscrollbar.c: added focus flag so vertical scrollbars + can get keyboard focus + Fri Dec 12 Owen Taylor * Removed warning when XGetWindowProperty fails - this can be the desired behavior. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index ebde046c17..417f47707a 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,7 @@ +Sat Dec 13 Jay Painter + * gtk/gtkvscrollbar.c: added focus flag so vertical scrollbars + can get keyboard focus + Fri Dec 12 Owen Taylor * Removed warning when XGetWindowProperty fails - this can be the desired behavior. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index ebde046c17..417f47707a 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,7 @@ +Sat Dec 13 Jay Painter + * gtk/gtkvscrollbar.c: added focus flag so vertical scrollbars + can get keyboard focus + Fri Dec 12 Owen Taylor * Removed warning when XGetWindowProperty fails - this can be the desired behavior. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index ebde046c17..417f47707a 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,7 @@ +Sat Dec 13 Jay Painter + * gtk/gtkvscrollbar.c: added focus flag so vertical scrollbars + can get keyboard focus + Fri Dec 12 Owen Taylor * Removed warning when XGetWindowProperty fails - this can be the desired behavior. diff --git a/gtk/gtkvscrollbar.c b/gtk/gtkvscrollbar.c index 87421c7bfb..f272617528 100644 --- a/gtk/gtkvscrollbar.c +++ b/gtk/gtkvscrollbar.c @@ -89,6 +89,7 @@ gtk_vscrollbar_init (GtkVScrollbar *vscrollbar) GtkRequisition *requisition; widget = GTK_WIDGET (vscrollbar); + GTK_WIDGET_SET_FLAGS (widget, GTK_CAN_FOCUS); requisition = &widget->requisition; requisition->width = (RANGE_CLASS (widget)->slider_width +