gitk: Fix various bugs in the view support
authorPaul Mackerras <paulus@samba.org>
Thu, 6 Apr 2006 11:22:52 +0000 (21:22 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 6 Apr 2006 11:22:52 +0000 (21:22 +1000)
commitfdedbcfb0d71d99f96e08c1903ce8bd5a8f51a39
treed15940d50964c498b9605ec8042edd94d07c99c1
parentf916ee427f3d7302c691e94229eed84c0c62534a
gitk: Fix various bugs in the view support

- don't re-read refs when switching views, it's too slow; just do
  it if the user did File->Update
- make the view menu use the uifont
- if we have a graph line selected, unselect it before changing the view
- if a row is selected and appears in the new view, but we have to
  read in the new view, select that row when we come across it
- if no row was previously selected, or if we don't find the previously
  selected row in the new view, select the first row

Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk