Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates-src > by-pkgid > b9dfc9446ea00cfd5a19f51a49dc1127 > files > 9

awn-extras-applets-0.4.0-24.fc14.1.src.rpm

=== modified file 'applets/maintained/weather/weather.py'
--- applets/maintained/weather/weather.py	2010-05-28 02:02:43 +0000
+++ applets/maintained/weather/weather.py	2010-06-04 04:36:33 +0000
@@ -243,7 +243,8 @@
                 # Clean up weather map
                 self.reset_weather_data()
                 self.map_item.set_sensitive(False)
-                self.applet.dialog.unregister("secondary")
+                if self.map_dialog is not None:
+                    self.applet.dialog.unregister("secondary")
 
                 # Clean up forecast dialog
                 self.forecaster.finalize_dialog()