Code

git-gui: Allow the user to copy name of the file in the diff viewer.
authorShawn O. Pearce <spearce@spearce.org>
Mon, 13 Nov 2006 02:11:12 +0000 (21:11 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 13 Nov 2006 05:10:40 +0000 (00:10 -0500)
commitc11b5f20d3bc2e8bc4fcd965b16e1575b87c0d5f
tree0a6a1e1b5a4a1d01bd4dc1c0db4950f1e641df75
parent7f09cfafa8acf507f3a1358e05002e566f41783f
git-gui: Allow the user to copy name of the file in the diff viewer.

There's a lot of reasons why the user might need to obtain the
complete (or just part of) path of a file which they are currently
viewing in the diff viewer pane.  So now we allow selection on this
widget by using a text widget instead of a label.  We also offer a
context menu which has actions for copying the selection or the entire
value onto the clipboard.

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