1. 01 Dec, 2012 3 commits
    • Benjamin Otte's avatar
      css: Add more features to font-size code · 0d9d5761
      Benjamin Otte authored
      We now support the keywords (like xx-small, medium, larger, smaller...)
      and I've changed the default value to be "medium".
      This required some shuffling of the "get default font size" code. But
      all is well now.
    • Benjamin Otte's avatar
      css: Move default font handling · 1dd3ee6b
      Benjamin Otte authored
      The default font is no longer handled like a custom style sheet that
      overrides everything, but as the initial value. This is the same
      behavior as in web browsers.
      And it allows the theme to actually use the 'font-family' and
      'font-size' properties. Of course, a well behaved theme will respect the
      setting as much as possible and for example use relative font sizes
      (which aren't yet supported, but will be soon).
    • Benjamin Otte's avatar
      style: Add _gtk_style_provider_private_get_settings() · 3ff7f1fd
      Benjamin Otte authored
      This gives a GtkSettings object for resolving system-dependant things -
      like the default font family and font size.
      No code does this yet, but we have an API.
      Only GtkSettings implements this.
  2. 30 Nov, 2012 37 commits