Typo
This commit is contained in:
		
							parent
							
								
									640fff5619
								
							
						
					
					
						commit
						14c9c55731
					
				@ -87,7 +87,7 @@ class DonutItem(goocanvas.Group):
 | 
				
			|||||||
	def add_piece(self, perc, icon_name, color):
 | 
						def add_piece(self, perc, icon_name, color):
 | 
				
			||||||
		# FIXME can't override set_parent on the
 | 
							# FIXME can't override set_parent on the
 | 
				
			||||||
		# PieceItem and there is no signal. So we
 | 
							# PieceItem and there is no signal. So we
 | 
				
			||||||
		# call a construct item on the childs for now.
 | 
							# call a construct method on the childs for now.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		angle_end = self._angle_start + perc * 2 * math.pi / 100
 | 
							angle_end = self._angle_start + perc * 2 * math.pi / 100
 | 
				
			||||||
		piece_item = PieceItem(self._angle_start, angle_end)
 | 
							piece_item = PieceItem(self._angle_start, angle_end)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user