summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoretienne2006-08-17 13:29:11 +0000
committeretienne2006-08-17 13:29:11 +0000
commit72acfccdfdcd9984c41cf8844c3afda7669551fd (patch)
treea3c4b4de5ce2238d6ea71c29f1f8d081c03180b8 /src
parent90db2708dc0c12d25e781a1d8860d65a74787997 (diff)
downloadivymon-72acfccdfdcd9984c41cf8844c3afda7669551fd.zip
ivymon-72acfccdfdcd9984c41cf8844c3afda7669551fd.tar.gz
ivymon-72acfccdfdcd9984c41cf8844c3afda7669551fd.tar.bz2
ivymon-72acfccdfdcd9984c41cf8844c3afda7669551fd.tar.xz
Tk804 compliant
Diffstat (limited to 'src')
-rwxr-xr-xsrc/ivymon9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/ivymon b/src/ivymon
index 5d70d92..a419f60 100755
--- a/src/ivymon
+++ b/src/ivymon
@@ -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');