Jens Lody
6fb7d1ee61
Avoid npe because of deleted spinner
5 years ago
Jens Lody
eb8162c263
Update extension.js for use with javascript-engine in recent gnome-shell.
5 years ago
MaximAL
d9fb790ba2
Change hyphen (-) to minus (−) character in temperatures for better typography
...
Edit: Slightly modified by using the encoded character, instead of using it directly, to avoid problems with file-encoding.
Signed-off-by: Jens Lody <jens@jenslody.de>
5 years ago
Jens Lody
f046bbfdfc
Remove convenience.js. No longer needed, due to ExtensionUtils.
5 years ago
FeRD (Frank Dana)
0b2954ceca
Remove object.actor references
5 years ago
Philippe Troin
b7ec679560
Handle DNS errors, retry in that case.
...
Fixes:
JS ERROR: Gio.ResolverError: Error resolving “openweathermap.org”: Name or service not known
_asyncReadyCallback@/usr/share/gnome-shell/extensions/openweather-extension@jenslody.de/extension.js:546:27
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
6 years ago
Philippe Troin
7da9bb80dd
Handle missing wind data in OpenWeather provider.
...
Fixes:
JS WARNING: [/usr/share/gnome-shell/extensions/openweather-extension@jenslody.de/openweathermap_org.js 381]: reference to undefined property "deg"
JS WARNING: [/usr/share/gnome-shell/extensions/openweather-extension@jenslody.de/extension.js 1171]: reference to undefined property "NaN"
6 years ago
Philippe Troin
c24218f4f7
Handle C locale.
...
Fixes:
JS ERROR: RangeError: invalid language tag: C
formatTemperature@/home/phil/.local/share/gnome-shell/extensions/openweather-extension@jenslody.de/extension.js:1343:16
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
parseWeatherCurrent@/home/phil/.local/share/gnome-shell/extensions/openweather-extension@jenslody.de/openweathermap_org.js:319:23
_asyncReadyCallback@/home/phil/.local/share/gnome-shell/extensions/openweather-extension@jenslody.de/extension.js:553:13
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
6 years ago
Jens Lody
7ea4ce7a12
Fix copyright dates.
6 years ago
Jens Lody
73a40c55d2
Fix for gnome.shell 3.30, only symbolic icons shown, if the stale is not explicitely set to regular.
6 years ago
Jens Lody
9587a0efe3
Fix invisible text in prefs.
6 years ago
Jens Lody
160ec29814
Use braces to make if-clauses better readable.
6 years ago
Taylor Raack
abb9206af2
Forecasts from OpenWeatherMap do not show "Yesterday" during any portion of a day
6 years ago
Jens Lody
851d68083c
Fix incorrect if-clause.
7 years ago
Jens Lody
cac94f2019
Restore search-results popup on gtk3 < 3.22, broken in commit 21f8299
.
7 years ago
Iakovos Gurulian
fa3052a3ef
Fixed issue where if the name of the city is too long, the weather popup stretches over the length of the screen (the user can set the number of max characters to be displayed)
7 years ago
Jens Lody
a86b949025
Allow use of horizontal scrolling axis for forecast. Fixes #207
7 years ago
Jens Lody
21f82996a5
Do not use deprecated popup-function, fixes #206 .
...
Instead of logging a warning, that the GtkMenu.popup function is deprecated since 3.22 and should not be used in new code, they just disabled it (in 3.22) and break code.
7 years ago
Jens Lody
8291339135
Fix warning about wrong parameter-count.
7 years ago
Jens Lody
0278ad2c02
Fix warning about non-existing property.
7 years ago
Jens Lody
cf3051996c
Avoid "Source ID xxx was not found when attempting to remove it"-errors.
7 years ago
Jens Lody
835e396cba
Add delay for network connection checking based on pull request #190 .
...
Many thanks to franglais12 .
7 years ago
Randy Ramos
4bd3900d9c
Changed "http" to "https" on API URLs and related sites
7 years ago
strig
700d05557c
Fix broken URL in 'Weather data provided by' link
...
For DarkSky, there was a space in the url that was causing the link to break. This PR removes the space between the coords in the URL.
7 years ago
Jens Lody
648d491e57
Use locale in toLocaleString(), needed since gnome-shell 3.24to get correct localization of deciaml values.
8 years ago
Jens Lody
34506a6557
Capitalize first letter in english weather-description. Fixes #179 .
...
Update language files.
8 years ago
Jens Lody
48ee4af7f9
Fix double initialization of variable, fixes rhbz#1429776.
8 years ago
Jens Lody
8d9974556f
Fix warning.
8 years ago
Jens Lody
706cbcefc9
Fix for #172 : Configuration window hides add/remove buttons by default
8 years ago
Jens Lody
fda6424226
Add mbar as pressure unit, based on pr #171 , thanks dafoxia
8 years ago
Jens Lody
e9f75b1192
Do not invalidate shown weather data of openweathermap.org, if we do not get a valid response from the server.
...
Hopefully fixes #147 .
8 years ago
Jens Lody
39821fa26e
Slightly change text of "Weather data provided by"-button, to show the name of the services instead of their url.
8 years ago
Jens Lody
6deee4bd2f
Change to fix url of "weather data provided by" button for Dark Sky.
8 years ago
cwmke
2349571e04
Update everything for Dark Sky switchover
8 years ago
Jens Lody
8f2698b564
Add option to configure the position of the menu-box relative to the panel-text.
...
Fixes #143 .
8 years ago
Jens Lody
81724472d1
Update po-files and add some new languages provided by forecast.io.
8 years ago
Jens Lody
a44cb9eaff
Fix #138 (glibc-error when disabling extension), thanks franglais125 .
8 years ago
Jens Lody
4c98fe358f
Update po-files via Makefile with gettext instead of using update.js .
...
Get rid of (mostly unmaintained) intltools.
Make gsettings schema translatable
8 years ago
Khaled Hosny
9ec8effed8
Allow localising the separator
...
Some languages (e.g. Arabic) use a different comma.
9 years ago
Khaled Hosny
c5c79d1d0b
Allow localising units
...
Some language (e.g. Arabic) use localised units, so allow localising
them.
9 years ago
Jens Lody
7017d18ecc
Do not use weather-storm if forecast.io's icon is wind, but widnspeed is less than 39 mph.
...
Use an icon based on the cloudcast instead in this case.
Really fix for #83 .
9 years ago
Jens Lody
fff5a03b49
Re-add gnome-shell 3.8 comatibility.
9 years ago
Jens Lody
6337eb2f01
Fix theming issue with "Arctic apricity" theme on ApricityOS, fixes : #94 .
9 years ago
Jens Lody
6123670d96
Fix typo in message.
9 years ago
Jens Lody
54a6c497f8
Add default API-key for openweathermap.org, because it was added to there FOSS-whitelist.
...
Fixes #84 .
Thanks to the team of openweathermap.org .
9 years ago
Jens Lody
a08629900a
Use async-function to check network connectivity.
...
Hopefully fixes gui-blocking issue.
9 years ago
Jens Lody
9f69488257
Make jslint happy.
9 years ago
Jens Lody
c381fbf689
Abort pending request(s), before adding a new one.
9 years ago
Jens Lody
d7f20d047d
Remove debug-messages (have been commented outanyway).
9 years ago
Jens Lody
34aa242b80
Fix typo, that errornously leads to an incorrect warning message about missing forecast.io api-key.
9 years ago