mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	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.
This commit is contained in:
		
							parent
							
								
									445f832060
								
							
						
					
					
						commit
						b31d36cf01
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		|  | @ -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'; | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Fred Drake
						Fred Drake