git-gui: Refactor mouse clicking on file names/icons.