By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

Filter using lowercase input and comparison strings

soreau,
created on Wednesday, 20 August 2025, 20:03:19 (1755720199), received on Wednesday, 20 August 2025, 20:05:12 (1755720312)
Author identity: Scott Moreau <oreaus@gmail.com>

91b62f227b0fd1d072b26d0ede79a29fc711042e

applets/soreaus-menu/__init__.py

@@ -201,11 +201,11 @@ class SoreausMenu(panorama_panel.Applet):

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                def on_search_changed(self, search_entry):
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    self.flowbox.remove_all()
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                text =  self.search_entry.get_text()
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                text =  self.search_entry.get_text().lower()
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    for button in self.cached_buttons:
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    if (button.name and text in button.name) or \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                       (button.desc and text in button.desc) or \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                       (button.exe and text in button.exe):
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    if (button.name and text in button.name.lower()) or \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                       (button.desc and text in button.desc.lower()) or \
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                       (button.exe and text in button.exe.lower()):
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                            self.flowbox.append(button)
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                def on_logout_button_clicked(self, button):