1. 20 Dec, 2011 1 commit
    • Kai Willadsen's avatar
      Draw currently displayed page area in DiffMap (closes bgo#470729) · 3855a4fc
      Kai Willadsen authored
      While ideally the scrollbar thumb should give a decent indication of
      the location and size of the current viewing pane in terms of the
      whole file, it doesn't always correspond very well. For example, in
      long files, the scroll thumb will not shrink below a certain size for
      usability purposes, which damages its use as an indicator.
      
      This commit introduces a relatively subtle overlay on our DiffMaps to
      show which part of the file is currently being displayed.
      3855a4fc
  2. 26 Mar, 2011 3 commits
  3. 02 Oct, 2010 1 commit
  4. 23 Sep, 2010 1 commit
  5. 23 Mar, 2010 1 commit
    • Kai Willadsen's avatar
      Split out DiffMap functionality into new widget · 48b455ad
      Kai Willadsen authored
      The DiffMap widget (the bars showing a coloured summary of changes at
      the left and right of the main file comparison window) has always been
      a purely custom creation based on gtk.DrawingArea. This commit breaks it
      out into a separate file and makes it a DrawingArea subclass.
      
      This also changes the drawing done, syncing the colours used with the
      LinkMap and TextView, and allowing thinner lines for insert chunks. In
      addition, our style-dependent calculations should now be more robust for
      unusual themes.
      48b455ad