1. 13 Jan, 2016 2 commits
  2. 08 Jan, 2016 2 commits
    • Cosimo Cecchi's avatar
      colorswatch: don't apply padding twice · f2685ddf
      Cosimo Cecchi authored
      Instead of taking the border and manually removing it from the
      allocation, render our background over all the border allocation box, as
      that's more correct and does not take padding into account twice.
      f2685ddf
    • Matthias Clasen's avatar
      colorswatch: Fix the overlay · 5b3001b6
      Matthias Clasen authored
      I misunderstood what the overlay is good for: We need to allocate
      it the full size of the widget. since we are using it to render
      a background gradient *over* the application-rendered color.
      
      At the same time, save some 100 lines of code by using an icon
      helper as gadget, instead of handling the icon manually.
      5b3001b6
  3. 07 Jan, 2016 2 commits
    • Matthias Clasen's avatar
      color swatch: Fix up rendering · 1b3bb244
      Matthias Clasen authored
      gtk_render_content_path is expecting the full box dimensions,
      not just the content area. So, add the border before calling it.
      
      Note it is still possible to have some separation between the
      color and the border, by setting padding.
      1b3bb244
    • Matthias Clasen's avatar
      color swatch: Remove a stray frame · 8ecba899
      Matthias Clasen authored
      When using a gadget, the border is free, no need to call
      gtk_render_frame ourselves.
      8ecba899
  4. 15 Dec, 2015 1 commit
  5. 02 Dec, 2015 1 commit
  6. 09 Nov, 2015 1 commit
  7. 31 Oct, 2015 3 commits
  8. 08 Oct, 2015 1 commit
  9. 12 Sep, 2015 1 commit
  10. 05 Aug, 2015 1 commit
    • Matthias Clasen's avatar
      color chooser: Use a popover for the context menu · e34ab356
      Matthias Clasen authored
      It works just as well here as it does in the file chooser, and
      this lets us unify the right-click and long-press behavior a bit.
      We used to switch directly to the editor on long-press, now we
      can show the popover, just as we do on right-click.
      e34ab356
  11. 14 Jun, 2015 1 commit
  12. 12 Oct, 2014 2 commits
  13. 08 Oct, 2014 6 commits
  14. 03 Oct, 2014 1 commit
    • Benjamin Otte's avatar
      stylecontext: Deprecate functions · 91467a45
      Benjamin Otte authored
      - gtk_style_context_get_background_color()
      - gtk_style_context_get_border_color()
      
      Those functions shouldn't be used anymore, because they don't represent
      anything from the CSS styling we support. The background color often
      isn't used due to background images and there are actually 4 different
      border colors (1 for each side) - if there isn't also a border image in
      use.
      91467a45
  15. 20 Aug, 2014 1 commit
  16. 16 Aug, 2014 1 commit
  17. 15 Aug, 2014 1 commit
  18. 19 Jul, 2014 1 commit
  19. 10 Jul, 2014 1 commit
  20. 16 Jun, 2014 1 commit
  21. 27 May, 2014 2 commits
  22. 23 May, 2014 4 commits
  23. 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
  24. 09 Jul, 2013 1 commit
  25. 21 Mar, 2013 1 commit