Skip to content
  • Matthias Clasen's avatar
    font chooser: Add a tweak page · 15f8b2d0
    Matthias Clasen authored
    Add a button the dialog's header bar that lets us
    switch to a second page where we can customize
    the selected font.
    
    Make the font chooser widget export an action that the
    dialog can use for the button. This has some advantages:
    - we can export not just the toggle state, but also enabled
    - we can reuse the same enabled state to make the select
      button insensitive when no font is selected
    
    To determine whether a font is selected, listen to changes
    of the list selection. And ensure that the font chooser is
    in an initial state when mapped, even if we close the dialog
    from the tweak page.
    15f8b2d0