1. 02 May, 2016 1 commit
    • Carlos Soriano Sánchez's avatar
      gtknotebook: avoid tab dnd from content · ddb0740a
      Carlos Soriano Sánchez authored
      Before commit 6c1bee23 we were setting an attribute of GtkNotebook
      to track the pressed button if the pressed button happened on the
      tab itself.
      Later in the motion handling code we were checking whether the private
      pressed button attribute was set or not in order to handle a tab dnd
      or not.
      
      In commit 6c1bee23 the code changed and set the pressed button
      variable unconditionally, which means, a motion event from within the
      tab content triggered a tab reordering.
      
      This happened only if the children hierarchy have a widget that bubbles
      up both button press event, which sets the private pressed button
      attribute; and motion events, which started the tab dnd checking the
      private pressed button attribute.
      A widget that experienced the regression was GtkListBox.
      
      In order to fix it, set the button pressed variable only when it press
      the tab itself, not the content.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=764395
      ddb0740a
  2. 29 Apr, 2016 1 commit
    • Matthias Clasen's avatar
      box gadget: Redo expand flag handling · 21487089
      Matthias Clasen authored
      We only keep one align flag per child, so it seems odd to
      keep separate h/v expand flags. Just keep one expand flag
      and interpret it according to orientation. Allow setting
      the expand flag for child widgets too, though, so we can
      make widget expand without interfering with the recursive
      widget expand flag.
      
      Update all callers.
      
      Use the new possibility of expanding child widgets to make
      the label of check and radio buttons expand. This fixes
      unexpected behavior of these widgets in RTL in some places.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=765742
      21487089
  3. 14 Mar, 2016 1 commit
  4. 29 Feb, 2016 2 commits
  5. 27 Feb, 2016 2 commits
    • Benjamin Otte's avatar
      boxgadget: Add ability to draw children in reverse · 245d217e
      Benjamin Otte authored
      This is necessary for GtkNotebook so that the stack is always drawn
      before the header.
      And that is necessary so that the active tab can use negative
      margins to overdraw the border of the stack to create a gap and
      simulate old GTK2-style visuals for notebooks.
      245d217e
    • Benjamin Otte's avatar
      notebook: The active tab is now :checked · cdb1cda6
      Benjamin Otte authored
      :active is reserved for "mouse button down on node", so we have to use
      something else. And stack switcher and radio buttons use :checked for
      the active widget, so it makes sense to use :checked for the active tab,
      too.
      
      Themes have been adapted.
      
      TODO: Implement :active for tabs.
      cdb1cda6
  6. 15 Feb, 2016 1 commit
    • Matthias Clasen's avatar
      notebook: Fix a misplaced tab label · cb43af09
      Matthias Clasen authored
      Sometimes default tab labels ("Page <n>") get created on-demand,
      and in that case, we were forgetting to put them below the tab
      node in the CSS node tree. The visible result of this is that the
      heuristics for when to give notebooks background in Adwaita fail
      in some cases. So, make sure to always place the label below the
      tab node.
      cb43af09
  7. 11 Feb, 2016 1 commit
  8. 08 Feb, 2016 1 commit
    • Timm Bäder's avatar
      Various documentation fixes · c5369356
      Timm Bäder authored
      Always have Since: annotations at the very bottom, use the correct
      ClassName::signal-name/ClassName:property-name syntax, fix a few typos
      in type names, wrong function names, non-existing type names, etc.
      c5369356
  9. 02 Feb, 2016 1 commit
  10. 23 Jan, 2016 1 commit
  11. 20 Jan, 2016 5 commits
  12. 18 Jan, 2016 1 commit
  13. 17 Jan, 2016 2 commits
  14. 15 Jan, 2016 2 commits
  15. 13 Jan, 2016 2 commits
  16. 12 Jan, 2016 1 commit
  17. 11 Jan, 2016 15 commits