1. 26 Apr, 2016 1 commit
  2. 10 Jan, 2016 1 commit
  3. 03 Jan, 2016 2 commits
    • Matthias Clasen's avatar
      Redo CSS style printing · 2e921691
      Matthias Clasen authored
      Drop the custom style printing implementation in gtkcssnode.c and
      instead reuse the existing gtk_css_style_print function, extending
      it a bit to suit our needs.
      
      Instead of computing values, just recognize initial values by
      having no CSS section. Also do away with the show-initial flag, and
      just always filter out initial values. The flag can come back when
      it is needed.
      2e921691
    • Matthias Clasen's avatar
      Add a function to dump CSS nodes and styles · 68edc47f
      Matthias Clasen authored
      Add a gtk_style_context_to_string function that can serialize
      a CSS node or tree of nodes, optionally including CSS properties
      as well.
      
      This will be useful in writing tests.
      68edc47f
  4. 22 Dec, 2015 1 commit
  5. 01 Jul, 2015 1 commit
  6. 10 Dec, 2014 1 commit
  7. 11 Nov, 2014 1 commit
  8. 20 Oct, 2014 1 commit
  9. 07 Oct, 2014 2 commits
  10. 05 Oct, 2014 1 commit
  11. 04 Oct, 2014 1 commit
  12. 03 Oct, 2014 2 commits
  13. 16 Aug, 2014 1 commit
  14. 10 Jul, 2014 1 commit
  15. 07 Jul, 2014 1 commit
  16. 04 Jul, 2014 1 commit
  17. 27 Jun, 2014 1 commit
  18. 19 Jun, 2014 1 commit
    • Benjamin Otte's avatar
      stylecontext: Deprecate regions · d80bf079
      Benjamin Otte authored
      Regions are done in a very non-css way. They don't fit the DOM in that
      they don't integrate into the CSS tree and they have very weird matching
      behavior in selectors.
      
      So I'm deprecating them now. GtkNotebook and GtkTreeview will continue
      to use them and as long as they do, we can't remove the code for it.
      But once those are ported it might be safe to remove the code as it will
      clean up lots of places in the code by quite a bit.
      d80bf079
  19. 18 Jun, 2014 1 commit
  20. 12 Jun, 2014 2 commits
  21. 09 Jun, 2014 1 commit
  22. 29 Mar, 2014 1 commit
  23. 07 Feb, 2014 5 commits
  24. 05 Oct, 2013 1 commit
  25. 26 Sep, 2013 1 commit
  26. 19 Aug, 2013 1 commit
  27. 18 Aug, 2013 1 commit
    • Matthias Clasen's avatar
      Add a style class for context menus · 624ec0fb
      Matthias Clasen authored
      Attached widgets inherit from the style of the widget they are
      attached to. This can sometimes have unintended consequences,
      like a context menu in the main view of gedit inheriting the font
      that is configured for documents, or the context menu of the preview
      in the font chooser coming up with humongous font size.
      
      To fix this problem, we introduce a context menu style class
      and use it for all menus that are used like that. The theme
      can then set a font for this style class.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=697127
      624ec0fb
  28. 17 Aug, 2013 1 commit
  29. 09 Jul, 2013 2 commits
  30. 03 Jul, 2013 2 commits
    • Alexander Larsson's avatar
      icon factory: Add gtk_icon_set_render_icon_surface · 635ae9bd
      Alexander Larsson authored
      Support scales when falling back to loading icons from the
      icon theme.
      
      In order to actually render scaled icons we add
      gtk_icon_set_render_icon_surface which renders to a cairo_surface_t
      which includes whatever scaling you need for scaled icons.
      635ae9bd
    • Alexander Larsson's avatar
      stylecontext: add gtk_render_icon_surface · 91a268f0
      Alexander Larsson authored
      This draws an icon from a cairo_surface. We want to use this more rather
      than render_icon as this means we can skip the pixbuf to surface
      conversion (including allocation and alpha premultiplication) at
      render time, plus we can use create_similar_image which may allow
      faster rendering.
      91a268f0