• Tim Janik's avatar
    only pass key events to the focus widget if it is sensitive. · e3ee9e9d
    Tim Janik authored
    Mon Jan 11 13:18:37 1999  Tim Janik  <timj@gtk.org>
    
            * gtk/gtkwindow.c:
            (gtk_window_key_release_event):
            (gtk_window_key_press_event): only pass key events to the focus widget
            if it is sensitive.
    
            * gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): don't popup the
            submenu if it isn't sensitive.
            (gtk_menu_item_paint): state_type doesn't need to be reset to
            GTK_STATE_INSENSITIVE if the widget is insensitive anyways.
    
            * gtk/gtkcontainer.c (gtk_container_real_focus):
            * gtk/gtklist.c (gtk_list_focus):
            * gtk/gtkmenushell.c (gtk_menu_shell_move_selected):
            * gtk/gtknotebook.c (gtk_notebook_focus):
            s/GTK_WIDGET_SENSITIVE/GTK_WIDGET_IS_SENSITIVE/ since a widgets
            sensitivity is determined through the parent as well,
            GTK_WIDGET_SENSITIVE is only of interest inside gtkwidget.c, everywhere
            else GTK_WIDGET_IS_SENSITIVE (widget) needs to be used to check for
            sensitivity.
    
            * gtk/gtkaccelgroup.c (gtk_accel_group_activate): don't activate
            object if it is an insensitive widget.
    e3ee9e9d
To find the state of this project's repository at the time of any of these versions, check out the tags.