Commit ebce1f79 authored by Jay Painter's avatar Jay Painter

Added focus flag to gtk/gtkvscrollbar.c so it can get keyboard focus.

-Jay
parent da9a8aee
Sat Dec 13 Jay Painter <jpaint@serv.net>
* gtk/gtkvscrollbar.c: added focus flag so vertical scrollbars
can get keyboard focus
Fri Dec 12 Owen Taylor <owt1@cornell.edu> Fri Dec 12 Owen Taylor <owt1@cornell.edu>
* Removed warning when XGetWindowProperty fails - this can * Removed warning when XGetWindowProperty fails - this can
be the desired behavior. be the desired behavior.
......
Sat Dec 13 Jay Painter <jpaint@serv.net>
* gtk/gtkvscrollbar.c: added focus flag so vertical scrollbars
can get keyboard focus
Fri Dec 12 Owen Taylor <owt1@cornell.edu> Fri Dec 12 Owen Taylor <owt1@cornell.edu>
* Removed warning when XGetWindowProperty fails - this can * Removed warning when XGetWindowProperty fails - this can
be the desired behavior. be the desired behavior.
......
Sat Dec 13 Jay Painter <jpaint@serv.net>
* gtk/gtkvscrollbar.c: added focus flag so vertical scrollbars
can get keyboard focus
Fri Dec 12 Owen Taylor <owt1@cornell.edu> Fri Dec 12 Owen Taylor <owt1@cornell.edu>
* Removed warning when XGetWindowProperty fails - this can * Removed warning when XGetWindowProperty fails - this can
be the desired behavior. be the desired behavior.
......
Sat Dec 13 Jay Painter <jpaint@serv.net>
* gtk/gtkvscrollbar.c: added focus flag so vertical scrollbars
can get keyboard focus
Fri Dec 12 Owen Taylor <owt1@cornell.edu> Fri Dec 12 Owen Taylor <owt1@cornell.edu>
* Removed warning when XGetWindowProperty fails - this can * Removed warning when XGetWindowProperty fails - this can
be the desired behavior. be the desired behavior.
......
Sat Dec 13 Jay Painter <jpaint@serv.net>
* gtk/gtkvscrollbar.c: added focus flag so vertical scrollbars
can get keyboard focus
Fri Dec 12 Owen Taylor <owt1@cornell.edu> Fri Dec 12 Owen Taylor <owt1@cornell.edu>
* Removed warning when XGetWindowProperty fails - this can * Removed warning when XGetWindowProperty fails - this can
be the desired behavior. be the desired behavior.
......
Sat Dec 13 Jay Painter <jpaint@serv.net>
* gtk/gtkvscrollbar.c: added focus flag so vertical scrollbars
can get keyboard focus
Fri Dec 12 Owen Taylor <owt1@cornell.edu> Fri Dec 12 Owen Taylor <owt1@cornell.edu>
* Removed warning when XGetWindowProperty fails - this can * Removed warning when XGetWindowProperty fails - this can
be the desired behavior. be the desired behavior.
......
Sat Dec 13 Jay Painter <jpaint@serv.net>
* gtk/gtkvscrollbar.c: added focus flag so vertical scrollbars
can get keyboard focus
Fri Dec 12 Owen Taylor <owt1@cornell.edu> Fri Dec 12 Owen Taylor <owt1@cornell.edu>
* Removed warning when XGetWindowProperty fails - this can * Removed warning when XGetWindowProperty fails - this can
be the desired behavior. be the desired behavior.
......
...@@ -89,6 +89,7 @@ gtk_vscrollbar_init (GtkVScrollbar *vscrollbar) ...@@ -89,6 +89,7 @@ gtk_vscrollbar_init (GtkVScrollbar *vscrollbar)
GtkRequisition *requisition; GtkRequisition *requisition;
widget = GTK_WIDGET (vscrollbar); widget = GTK_WIDGET (vscrollbar);
GTK_WIDGET_SET_FLAGS (widget, GTK_CAN_FOCUS);
requisition = &widget->requisition; requisition = &widget->requisition;
requisition->width = (RANGE_CLASS (widget)->slider_width + requisition->width = (RANGE_CLASS (widget)->slider_width +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment