Hide License Button only on Windows
This commit is contained in:
		
							parent
							
								
									5837c47088
								
							
						
					
					
						commit
						a462af555b
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1329,7 +1329,9 @@ class AboutDialog(Gtk.AboutDialog):
 | 
			
		|||
        self.show_all()
 | 
			
		||||
 | 
			
		||||
        # GTK Bug, We have to manually hide the License Button
 | 
			
		||||
        self.get_action_area().get_children()[1].hide()
 | 
			
		||||
        # Bug exists only on Windows
 | 
			
		||||
        if os.name == 'nt':
 | 
			
		||||
            self.get_action_area().get_children()[1].hide()
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class Dialog(Gtk.Dialog):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue