After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 89311 - default city ought to be whatever was used last time
default city ought to be whatever was used last time
Status: RESOLVED DUPLICATE of bug 32225
Product: gnome-applets
Classification: Other
Component: gweather
2.0.x
Other Linux
: Normal trivial
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-07-29 05:26 UTC by Martin Pool
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Martin Pool 2002-07-29 05:26:27 UTC
If I remove and re-add the gweather applet, the city goes back to the
default, Pittsburgh.  It would be kind of nice if it went back to the city
and preferences I was using last time.

I realize this is a little problematic where multiple instances of the
applet exist, but I think you can still get a better outcome than the
current code.  For example, when the applet is removed, it might stash its
settings in gconf.

See also #89310
Comment 1 Ben FrantzDale 2002-07-29 05:56:02 UTC
This may be a duplicate of bug 79787 in which gweather keeps
forgetting settings.
Comment 2 Martin Pool 2002-07-29 06:06:50 UTC
It's kind of related, but I think it is not a duplicate.  As far as I
can see, #79787 is about gweather crashing, and incidentally not
reloading its settings correctly when it is respawned by the panel. 
This one is about the applet being intentionally deleted by the user,
and then a new applet added later.

In this instance, gweather is apparently working-as-designed, but I am
proposing a design enhancement.  

In #79787 Kevin points out that the possibility of multiple applets
causes some problems for restoring previous settings, but I think you
can still do it in a way that is not complex or confusing, and that is
more friendly than the current arrangement.  That is, there should be
a global (not per-applet) setting that records the preferences most
recently set for all gweather instances.  When you add a new instance,
it defaults to that.
Comment 3 Heath Harrelson 2002-07-29 19:54:42 UTC
This would be a nice feature, but given the way applets' settings are
saved in GConf currently, I wonder if it's even possible.
Comment 4 Mark McLoughlin 2002-08-04 21:57:05 UTC
#32225 requests a 'save settings as default' option for applets.
Something along the lines of this will solve the problem

*** This bug has been marked as a duplicate of 32225 ***