• Carlos Soriano's avatar
    gtkwindow: Use actions from focused widget to activate accel · 235837ad
    Carlos Soriano authored
    Currently we only take into account the window GActionGroup for
    activating the accels.
    However, the application could have some custom GActionGroup in the
    chain of focused widgets that could want to activate some action if
    some accel is activated while that widget is focused.
    To allow applications to set accels on widgets that use custom
    GActionGroups, simply use the muxer of the focused widget, which
    already contains the actions of the parents.
gtkactionhelper.c 18.1 KB