git-gui: Refactor mouse clicking on file names/icons.
authorShawn O. Pearce <spearce@spearce.org>
Mon, 13 Nov 2006 19:25:53 +0000 (14:25 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 13 Nov 2006 19:25:53 +0000 (14:25 -0500)
commit7d0d289e457eb643b8638b6385a0ce056f1f5a97
tree34db90c444b4e4ce24a96c4b3ceae75bf954b215
parentf7f8d32226595c22cb4f28f8e9e139cf42e1e640
git-gui: Refactor mouse clicking on file names/icons.

I'm not a huge fan of putting the left and right mouse actions into
the same procedure.  Originally this is how Paul had implemented the
logic in gitool and I had carried some of that over into git-gui, but
now that I'm getting ready to implement right mouse click features to
act on files I really should split this apart.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui