summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-01-04 15:16:01 (GMT)
committerFred Drake <fdrake@acm.org>2001-01-04 15:16:01 (GMT)
commitb31d36cf014d832d1f4da753e60e9112a350abc4 (patch)
treefc353adab70540a042f92a9f63b31eb3955d3265 /Doc
parent445f832060cb07331bf54ebf7b033c33b816d1b8 (diff)
downloadcpython-b31d36cf014d832d1f4da753e60e9112a350abc4.zip
cpython-b31d36cf014d832d1f4da753e60e9112a350abc4.tar.gz
cpython-b31d36cf014d832d1f4da753e60e9112a350abc4.tar.bz2
Fix the bugfix for SF bug #127151 -- make sure we map "previous_page" to
"previous" and "next_page" to "next". This way the proper icons are found.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/perl/l2hinit.perl7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/perl/l2hinit.perl b/Doc/perl/l2hinit.perl
index 4e5ff65..4ffcc58 100644
--- a/Doc/perl/l2hinit.perl
+++ b/Doc/perl/l2hinit.perl
@@ -117,9 +117,16 @@ $my_icon_tags{'contents'} = 'Contents';
$my_icon_tags{'index'} = 'Index';
$my_icon_tags{'modules'} = 'Module Index';
+@my_icon_names = ();
+$my_icon_names{'previous_page'} = 'previous';
+$my_icon_names{'next_page'} = 'next';
+
sub get_my_icon {
my $name = @_[0];
my $text = $my_icon_tags{$name};
+ if ($my_icon_names{$name}) {
+ $name = $my_icon_names{$name};
+ }
if ($text eq '') {
$name = 'blank';
}