Important information: Google announced that, from September 2026, Android devices will require ALL apps to be signed by Google, effectively leading to an iOS situation. Value your right to a computer that does what you want; do not tolerate this monopolistic practice! Contact me if you don't understand why it is bad. Click to learn more.

return existing items in the correct format

by roundabout, Thursday, 18 December 2025, 16:36:39 (1766075799), pushed by roundabout, Thursday, 18 December 2025, 16:36:42 (1766075802)

Author identity: Vlad <vlad.muntoiu@gmail.com>

1e879be69317777f0f448c007718df54984c2082

main.py

@@ -76,7 +76,7 @@ class StatusNotifierWatcher:

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    if property_name == "IsStatusNotifierHostRegistered":
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                        return GLib.Variant("b", bool(self.hosts))
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    elif property_name == "RegisteredStatusNotifierItems":
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    return GLib.Variant("as", list(self.items))
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    return GLib.Variant("as", [f"{a}:{b}" for a, b in self.items.items()])
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    elif property_name == "ProtocolVersion":
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                        return GLib.Variant("i", 0)
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                    else: