1. 01 Jun, 2016 3 commits
  2. 31 May, 2016 4 commits
  3. 30 May, 2016 6 commits
  4. 27 May, 2016 2 commits
  5. 26 May, 2016 2 commits
  6. 24 May, 2016 3 commits
  7. 23 May, 2016 2 commits
  8. 21 May, 2016 1 commit
  9. 20 May, 2016 5 commits
  10. 19 May, 2016 7 commits
  11. 18 May, 2016 2 commits
  12. 17 May, 2016 3 commits
    • Debarshi Ray's avatar
      scrolledwindow: Better size requisition for GTK_SCROLL_NATURAL children · 096bea3f
      Debarshi Ray authored
      GtkScrolledWindow leans towards using the minimum size of its child
      widget, unless the scrollbar policy is GTK_POLICY_NEVER. This is
      probably fine for most GtkScrollable implementations out there.
      Especially when using GTK_SCROLL_MINIMUM, which is the default for all
      implementations inside gtk+.
      
      However, this is not good for GTK_SCROLL_NATURAL children. eg.,
      VteTerminal's minimum size is 1x1 and natural size is the number of
      visible rows and columns requested by the user. We really want to use
      the natural size unless the user has resized the window to change that.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=766569
      096bea3f
    • Debarshi Ray's avatar
      scrolledwindow: Remove redundant use of MAX · c81cd94b
      Debarshi Ray authored
      This code tries to add the minimum content size, if one is set, to the
      GtkScrolledWindow's size requisition. This is obvious from the check
      for non-negative values of min-content-height and min-content-width.
      Using MAX needlessly makes the code harder to read by implying that
      there is more to it when there actually isn't.
      
      Fall out from 0d9ebb50
      
      https://bugzilla.gnome.org/show_bug.cgi?id=766569
      c81cd94b
    • Debarshi Ray's avatar
      scrolledwindow: Fix typo in get_preferred_height calculation · df98140e
      Debarshi Ray authored
      When we are beginning to calculate the height, if the vscrollbar_policy
      is not GTK_POLICY_NEVER, and there is no min-content-height, then we
      need some small non-zero value to get started. The idea is to always
      ask for at least enough to fit the horizontal scrollbar.
      
      Simply put, this should be the mirror image of the corresponding width
      calculation code.
      
      Those who got used to the buggy behaviour might notice that their
      GtkScrolledWindows are not as tall as they used to be.
      
      Fall out from 55196a70
      
      https://bugzilla.gnome.org/show_bug.cgi?id=766530
      df98140e