diff options
author | Fred Drake <fdrake@acm.org> | 2001-01-04 15:16:01 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-01-04 15:16:01 (GMT) |
commit | b31d36cf014d832d1f4da753e60e9112a350abc4 (patch) | |
tree | fc353adab70540a042f92a9f63b31eb3955d3265 | |
parent | 445f832060cb07331bf54ebf7b033c33b816d1b8 (diff) | |
download | cpython-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.
-rw-r--r-- | Doc/perl/l2hinit.perl | 7 |
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'; } |