GNOME Bugzilla – Bug 509888
Wrong usage of libgweather locations_file
Last modified: 2008-01-27 23:20:20 UTC
As the variable is clearly named locations_file, it points to the Locations.xml file, not the directory that contains it. Therefore gweather-xml.c actually tries to load /usr/share/libgweather/Locations.xmlLocations.xml
Created attachment 102990 [details] [review] Proposed patch This patch makes the clock applet use the verbatim string as returned by pkg-config
Created attachment 103005 [details] [review] Proposed fix Actually forget about that patch, I've also noticed that there is an #ifdef that is nowhere mentioned in the whole code base. This is a better patch (removing the check as it depends on libgweather anyway).
Created attachment 103007 [details] [review] Actual fix Ah... neeeeeed moooore cofeeeee. This is the actual fix, obviously adding the missing declarations instead of removing the checks as the path is needed for it to work.
Just a quick note from the gnome-applets side: This is technically a change in libgweather so it could be claimed that this isn't a gnome-panel bug. However, I like the new way better, so I changed gnome-applets to behave this way and I think gnome-panel should too.
*** Bug 511458 has been marked as a duplicate of this bug. ***
Thanks.