• Allison Karlitskaya's avatar
    GtkAccelLabel: adjust recent accel changes · 99a53112
    Allison Karlitskaya authored
    In the event that a GtkAccelKey was present for the closure but it
    contained a keyval of 0 the previous code would show "".  After the
    recent adjustments, "-/-" would be shown in this case.
    
    It turns out to be a pretty common case, so fix the logic to stop using
    '0' as a magic value to mean "don't have an accel" and add a separate
    boolean for that purpose.
    99a53112
gtkaccellabel.c 30.7 KB