Add key bindings on GtkScrolledWindow for arrow keys, PageUp/PageDown

Fri Feb 15 20:09:45 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkscrolledwindow.[ch] gtk/gtkmarshallers.list:
        Add key bindings on GtkScrolledWindow for arrow keys,
        PageUp/PageDown Home/End to scroll the window.
        Bind Control-[Shift]-Tab to focus out of the scrolled
        window entirely. Allow the scrolled window to be
        focused if no child can be focused. (#63480)

        * gtk/gtkwidget.c (gtk_widget_hide): Remove the REALIZED()
        check - if we have visible but not mapped widgets
        (inside a unshown notebook tab, for instance), we need
        to track their size. (#65087, reported by Damon Chaplin.)

        * gtk/gtkcolorsel.c (palette_change_color): Shut up
        a warning.
This commit is contained in:
Owen Taylor
2002-02-16 01:34:26 +00:00
committed by Owen Taylor
parent c69c19c791
commit 59fc8ff804
12 changed files with 407 additions and 16 deletions

View File

@ -764,6 +764,7 @@ palette_change_color (GtkWidget *drawing_area,
gdk_color.blue = UNSCALE (color[2]);
x = 0;
y = 0; /* Quiet GCC */
while (x < GTK_CUSTOM_PALETTE_WIDTH)
{
y = 0;