diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-06-02 17:15:56 -0400 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2007-06-06 01:26:51 -0400 |
commit | debcd0fd02bda82e3c81e6739bcb26135ac00b85 (patch) | |
tree | 49673c4bc41a1971f80c9674804a7228ce711e32 /lib/option.tcl | |
parent | fc816d7b857a5033982b421a384f7b2d932f57e6 (diff) | |
download | git-debcd0fd02bda82e3c81e6739bcb26135ac00b85.tar.gz git-debcd0fd02bda82e3c81e6739bcb26135ac00b85.tar.xz |
git-gui: Display the "Loading annotation..." message in italic
If the user clicks on a line region that we haven't yet received
an annotation for from git-blame we show them "Loading annotation".
But I don't want the user to confuse this loading message with a
commit whose first line is "Loading annotation" and think we messed
up our display somehow. Since we never use italics for anything
else, I'm going with the idea that italic slant can be used to show
data is missing/elided out at the time being.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'lib/option.tcl')
-rw-r--r-- | lib/option.tcl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/option.tcl b/lib/option.tcl index 11dd9be6b..b29e14e64 100644 --- a/lib/option.tcl +++ b/lib/option.tcl @@ -15,6 +15,9 @@ proc save_config {} { font configure ${font}bold \ -family $global_config_new(gui.$font^^family) \ -size $global_config_new(gui.$font^^size) + font configure ${font}italic \ + -family $global_config_new(gui.$font^^family) \ + -size $global_config_new(gui.$font^^size) set global_config_new(gui.$name) [font configure $font] unset global_config_new(gui.$font^^family) unset global_config_new(gui.$font^^size) |