Only handle key bindings for scrolling if the scrollbars are visible.

2007-01-01  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkscrolledwindow.h:
        * gtk/gtkscrolledwindow.c: Only handle key bindings
        for scrolling if the scrollbars are visible.
        (#340135, Christian Persch)



svn path=/trunk/; revision=17012
This commit is contained in:
Matthias Clasen
2007-01-02 07:07:09 +00:00
committed by Matthias Clasen
parent a441ab05f1
commit 5b352c0a63
3 changed files with 23 additions and 8 deletions

View File

@ -81,9 +81,9 @@ struct _GtkScrolledWindowClass
* no horizontal/vertical variants for GTK_SCROLL_START/END,
* so we have to add an additional boolean flag.
*/
void (*scroll_child) (GtkScrolledWindow *scrolled_window,
GtkScrollType scroll,
gboolean horizontal);
gboolean (*scroll_child) (GtkScrolledWindow *scrolled_window,
GtkScrollType scroll,
gboolean horizontal);
void (* move_focus_out) (GtkScrolledWindow *scrolled_window,
GtkDirectionType direction);