• Allison Karlitskaya's avatar
    GtkMenuTrackerItem: small logic tweak · 8256b88e
    Allison Karlitskaya authored
    Strictly speaking, can_activate should always be set back to FALSE when
    the action disappears from the muxer (since we can't activate it
    anymore) but we forgot to do that.
    This 'bug' could never cause a problem because 'can_activate' is never
    directly queried for anything at all and the item would get marked
    insensitive anyway.  As soon as the action was re-added, can_activate
    would be recalculated based on the new action before anything else could
    All the same, this should be cleared here.
gtkmenutrackeritem.c 25.7 KB