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.

allow icon fallbacks

by roundabout, Monday, 2 February 2026, 14:32:37 (1770042757), pushed by roundabout, Monday, 2 February 2026, 14:32:44 (1770042764)

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

08bc8f20b70e5e69350f78da56b46a2b52ced632

main.py

@@ -148,7 +148,7 @@ class WeatherReport(Gtk.Box):

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                        self.temperature_size_group.add_widget(temperature_label)
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                        box.append(temperature_label)
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    icon = Gtk.Image.new_from_icon_name(point["icon_name"])
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                    icon = Gtk.Image.new_from_gicon(Gio.ThemedIcon.new_with_default_fallbacks(point["icon_name"]))
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                        icon.set_icon_size(Gtk.IconSize.LARGE)
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                        icon.set_halign(Gtk.Align.END)
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                        self.icon_size_group.add_widget(icon)
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                            
                                

panorama-weather-report.ui

@@ -25,6 +25,7 @@

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                              <object class="GtkImage" id="current_weather_icon">
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                                <property name="icon-name">image-missing</property>
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                                <property name="pixel-size">128</property>
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                                            <property name="use-fallback">True</property>
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                              </object>
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                            </child>
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                            <child>
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                            
                                

panorama-weather.cmb

@@ -3,5 +3,5 @@

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            <!-- Created with Cambalache 0.96.1 -->
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            <cambalache-project version="0.96.0" target_tk="gtk-4.0">
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              <ui template-class="WeatherWindow" filename="panorama-weather.ui" sha256="1a7095d7d0e95cb9909692a4b40518a9ccacae22f3348c4b3721a18a381a41a4"/>
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          <ui template-class="WeatherReport" filename="panorama-weather-report.ui" sha256="21bc4b4df77f801a0c7df9928f8507e68142433ba2cd2971e14d87981749f05c"/>
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                          <ui template-class="WeatherReport" filename="panorama-weather-report.ui" sha256="718f337788df5e2b5b19e425d80a069c8d1f2b151faca70de38e86f85fb023e5"/>
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                            </cambalache-project>