← Back to team overview

indiv-screenlets-dev team mailing list archive

[Bug 716179] Re: [ClearWeather] screenlet does not remember ZIP from previous session

 

The problem is present in the Spanish translation ("ZIP" is translated as "CP"). 
There are two different ZIP codes depending the way you check it (using the menu or using the properties option).
When I modified line 95 as in the bug description, the problem is solved.

This is the content of my ClearWeather1.ini file:
--------
scale=2.0
theme_name=default
ZIP=ARBA0009
is_sticky=True
is_widget=False
draw_buttons=True
keep_above=False
lock_position=False
is_dragged=False
keep_below=True
y=204
x=1000
skip_taskbar=True
CP=ARBA0009
-------------
As you can see there are 2 different entrys for the ZIP code: "ZIP" and "CP".

After every screenlets update, I have to modified line 95 by hand to
correct the problem.

-- 
You received this bug notification because you are a member of
Individual Screenlets Developers, which is subscribed to Individual
Screenlets.
https://bugs.launchpad.net/bugs/716179

Title:
  [ClearWeather] screenlet does not remember ZIP from previous session

Status in Screenlets — individual widgets development:
  Invalid

Bug description:
  In short:
        The applet don't remember the ZIP code from session to session.
        Please check line 95 in ClearWeatherScreenlet.py file:

  self.add_option(StringOption(_('Weather'), 'ZIP', #<<< don't translate this ZIP string
   str(self.ZIP), _('ZIP'), _('The ZIP code to be monitored taken from Weather.com')), realtime=False)



References