Remove old design remains
This commit is contained in:
		
							parent
							
								
									7d76f06ae1
								
							
						
					
					
						commit
						5c9020b188
					
				@ -74,18 +74,17 @@ class RadioPalette(Palette):
 | 
				
			|||||||
        button.palette_label = label
 | 
					        button.palette_label = label
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if not children:
 | 
					        if not children:
 | 
				
			||||||
            self.__clicked_cb(button, True)
 | 
					            self.__clicked_cb(button)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def update_button(self):
 | 
					    def update_button(self):
 | 
				
			||||||
        for i in self.button_box.get_children():
 | 
					        for i in self.button_box.get_children():
 | 
				
			||||||
            self.__clicked_cb(i, True)
 | 
					            self.__clicked_cb(i)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def __clicked_cb(self, button, quiet=False):
 | 
					    def __clicked_cb(self, button):
 | 
				
			||||||
        if not button.get_active():
 | 
					        if not button.get_active():
 | 
				
			||||||
            return
 | 
					            return
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        self.set_primary_text(button.palette_label)
 | 
					        self.set_primary_text(button.palette_label)
 | 
				
			||||||
        if not quiet:
 | 
					 | 
				
			||||||
        self.popdown(immediate=True)
 | 
					        self.popdown(immediate=True)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if self.invoker is not None:
 | 
					        if self.invoker is not None:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user