summaryrefslogtreecommitdiff
path: root/Build/source/texk/texlive/linked_scripts/texdoctk.pl
diff options
context:
space:
mode:
authorVladimir Volovich <vvv@vsu.ru>2008-08-14 16:15:20 +0000
committerVladimir Volovich <vvv@vsu.ru>2008-08-14 16:15:20 +0000
commit2aa9527a8a806b412d22591606bb3d0c2b557acc (patch)
treeb56f8b03d527b351db63a76a82ec2c3281b4189e /Build/source/texk/texlive/linked_scripts/texdoctk.pl
parentb520e725fa5809592cf312ace246c7740898e1cc (diff)
sync linked_scripts with Master tree
git-svn-id: svn://tug.org/texlive/trunk@10349 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/texlive/linked_scripts/texdoctk.pl')
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/texdoctk.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/texdoctk.pl b/Build/source/texk/texlive/linked_scripts/texdoctk.pl
index 08c527e521d..e1c9658f79c 100755
--- a/Build/source/texk/texlive/linked_scripts/texdoctk.pl
+++ b/Build/source/texk/texlive/linked_scripts/texdoctk.pl
@@ -191,7 +191,8 @@ my $deffont=$Qbut->cget(-font);
# ensure readability on high-res screens (suggested by R.Kotucha)
$deffont='Helvetica -16 bold' if &x_resolution > 1200;
$Qbut->configure(-font=>$deffont);
-$tlwins{'mainwindow'}{'buttons'}[1]=$cmdframe->Button(-text=>'Search',
+$tlwins{'mainwindow'}{'buttons'}[1]=$cmdframe->Button(
+ -text=>'Search texdoctk\'s database',
-font=>$deffont,%butcol,
-command=>\&mksrch
)->pack(-side=>'left');
@@ -809,7 +810,8 @@ sub srchstr {
destroy $srchentry;
$srchflag=0;
if (scalar @results == 0) {
- &popmsg(0,"Search for $string: no matches found.",$cmdframe);
+ &popmsg(0,"Search for $string: no matches found.\n".
+ "Try `texdoc $string' in a command line.",$cmdframe);
} else {
# cancel multiple entries
my ($omit,$pack1,$pack2);