registry team mailing list archive
-
registry team
-
Mailing list archive
-
Message #11249
[Merge] lp:~roignac/weather-indicator/Bug604265 into lp:weather-indicator
Vadim Rutkovsky has proposed merging lp:~roignac/weather-indicator/Bug604265 into lp:weather-indicator.
Requested reviews:
Registry Administrators (registry)
Related bugs:
#604265 First configuration weather unit setting not saved
https://bugs.launchpad.net/bugs/604265
Fixes defect 604265
--
https://code.launchpad.net/~roignac/weather-indicator/Bug604265/+merge/32653
Your team Registry Administrators is requested to review the proposed merge of lp:~roignac/weather-indicator/Bug604265 into lp:weather-indicator.
=== modified file 'bin/indicator-weather'
--- bin/indicator-weather 2010-07-10 23:10:38 +0000
+++ bin/indicator-weather 2010-08-14 02:53:38 +0000
@@ -846,6 +846,8 @@
def on_apply(self,widget):
wi.placeadded = self.label
+ wi.unit = self.builder.get_object("unitlbl").get_text()[0]
+ gconfClient.set_string("/apps/indicator-weather/unit", str(wi.unit))
self.hide()
wi.places = list()
wi.places.append(wi.placeadded)