diff options
author | etienne | 2006-08-17 13:29:11 +0000 |
---|---|---|
committer | etienne | 2006-08-17 13:29:11 +0000 |
commit | 72acfccdfdcd9984c41cf8844c3afda7669551fd (patch) | |
tree | a3c4b4de5ce2238d6ea71c29f1f8d081c03180b8 /src | |
parent | 90db2708dc0c12d25e781a1d8860d65a74787997 (diff) | |
download | ivymon-72acfccdfdcd9984c41cf8844c3afda7669551fd.zip ivymon-72acfccdfdcd9984c41cf8844c3afda7669551fd.tar.gz ivymon-72acfccdfdcd9984c41cf8844c3afda7669551fd.tar.bz2 ivymon-72acfccdfdcd9984c41cf8844c3afda7669551fd.tar.xz |
Tk804 compliant
Diffstat (limited to 'src')
-rwxr-xr-x | src/ivymon | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -529,8 +529,13 @@ my $bgcolor = $messagesText->cget(-background); $messagesText->tagConfigure('sender', -background => 'gray50', -foreground => 'gray90'); -$messagesText->tagConfigure('time', - -state => 'hidden'); +my @hide_option; +if ($Tk::VERSION ge 804) { + @hide_option = (-elide => 1); +} else { + @hide_option = (-state => 'hidden'); +} +$messagesText->tagConfigure('time', @hide_option); $messagesText->tagConfigure($appname, -foreground => 'gray30'); $messagesText->tagConfigure('marker0', -background => 'lightcoral', -foreground => 'lightcoral'); |