1. 19 Dec, 2015 11 commits
  2. 18 Dec, 2015 8 commits
  3. 17 Dec, 2015 8 commits
  4. 16 Dec, 2015 13 commits
    • Matthias Clasen's avatar
      gadget: Avoid warning for empty containers · f3c95e1c
      Matthias Clasen authored
      Empty boxes end up setting the clip to { 0, 0, 0, 0}, so warning
      for a width or height of 0 triggers false positives. Instead,
      initialize the clip to clearly invalid values.
    • Matthias Clasen's avatar
      gadget: Add more information to warnings · 09d9674d
      Matthias Clasen authored
      We have the gadget at hand, so we should print out some
      information that helps tracking down where it comes from.
    • Matthias Clasen's avatar
      gadget: Update docs · 083a17ac
      Matthias Clasen authored
      Make it clear that out_clip must be set.
    • Matthias Clasen's avatar
      gadget: Warn if clip is not set · ec5596ce
      Matthias Clasen authored
      This leads to hard-to-track-down drawing errors, so better
      warn explicitly about it.
    • Matthias Clasen's avatar
      frame: Fix gadget conversion · 2417184a
      Matthias Clasen authored
      The GtkCssAllocateFunc must set the clip to meaningful values.
    • Matthias Clasen's avatar
      frame: Convert to gadgets · 576028bd
      Matthias Clasen authored
      As part of this conversion, remove the hardcoded padding around
      the label.
      Unfortunately, we cannot use the main gadget for drawing the frame
      decoration, since we want to draw a custom border instead of the
      stock css border that gadgets insist on drawing for us. Therefore,
      add an extra gadget with name border and use it just for rendering
      the frame.
    • Carlos Garnacho's avatar
      GtkPopover: Ensure we unset modality before unparenting the popover · 3be4971e
      Carlos Garnacho authored
      Otherwise the gtk_grab_remove() calls on widget destruction will happen
      on the default window group, which may leave the real window group
      of the popover with a dangling pointer if it is not the default one.
      This could be seen on the inspector, open a popover in the properties
      list and close the window with alt-F4.
    • Benjamin Otte's avatar
      label: Position the text properly · 197e42ef
      Benjamin Otte authored
      The PangoLayout needs to be positioned according to the content
      allocation of the gadget, not the widget's allocation.
    • Benjamin Otte's avatar
      cssnode: Redo first/last-child change tracking · 2e362eaf
      Benjamin Otte authored
      Invisible nodes don't change the first/last-child status of the nodes
      after/before them. That means we don't have to just check the state of
      the adjacent node when modifying this state, but all their siblings
      until we hit a visible node.
      The same way, a node is not the first child if it has no previous
      sibling, it is the first child if it has no previous visible sibling.
      This is important for caching in the global lookup cache.
    • Benjamin Otte's avatar
      checkbutton: Use a builtin icon · 36653bea
      Benjamin Otte authored
      Also, add support to uiltin icons to look up the default size from a
      style property.
    • Matthias Clasen's avatar
      switch: Deprecate style properties · abbd6b11
      Matthias Clasen authored
      CSS min-width and min-height on the slider node fit this
      perfectly. We still fall back to the slider-width and
      slider-height style properties if the CSS properties are
      not set.
    • Matthias Clasen's avatar
      Simplify some code · 4e05148b
      Matthias Clasen authored
      Deal with the min-width/min-height fallback the same way
      as in GtkBuiltinIcon.
    • Carlos Garnacho's avatar
      inspector: Use seat grabs for the "inspect widget" feature · 3f7eefb9
      Carlos Garnacho authored
      And remove some usages of GdkDeviceManager API.