Jens Lody
6d9003ff3d
Update for Soup3 and split from official owm on ego.
...
Signed-off-by: Jens Lody <jens@jenslody.de>
2 years ago
Jens Lody
7a2e0f6c5a
First gnome-shell 40.x fixes.
...
All lower versions are abandoned for the moment (?).
4 years ago
Jens Lody
c28898dc1e
Update copyright years to 2021.
4 years ago
Jens Lody
d8be50fbe9
Silence log noise.
4 years ago
Jens Lody
834e037086
Update copyright years to 2020.
5 years ago
Jens Lody
a495d1633a
Revert "(Temporary?) hotfix for broken certification-chain of openweathermap.org."
...
This reverts commit ee99918d72
.
5 years ago
Jens Lody
ee99918d72
(Temporary?) hotfix for broken certification-chain of openweathermap.org.
...
Signed-off-by: Jens Lody <jens@jenslody.de>
5 years ago
Robert Mader
d9a90d3843
Use new convenience function to open settings
...
GS 3.36 introduced a portal-like API for actions like opening settings.
That was done in order to make it possible to ship the new extensions
app in a sandboxed manner, e.g. via flatpak.
While talking to the API directly is a bit cumbersome, luckily there
is a convenience function we can make use of (from GS 3.36.2 on).
Closes #260 .
Signed-off-by: Jens Lody <jens@jenslody.de>
5 years ago
Jens Lody
772c054a9e
Finally fix #250 (hopefully).
...
Many thanks to Marc Vinyals (@marcvinyals ) for this fix.
5 years ago
Jens Lody
1c9dd03b36
Remove compatibility with gnome-shell < 3.32.
5 years ago
Jens Lody
991b2c9231
Remove unneeded style-class.
5 years ago
Jens Lody
cb185caaca
Partly revert "Remove object.actor references" ( 0b2954ceca
), because it breaks the extension on gnome-shell 3.32 and is not (yet) needed.
5 years ago
Jens Lody
3edd42466a
Fix position-in-panel-logic.
...
It's better readable now and what's more: it works on gnome-shell > 3.34.
5 years ago
Jens Lody
23e8a6e4f7
Fix button creation on gnome-shell 3.35.
...
The (private) function _createActionButton does not exist anymore.
5 years ago
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.
8 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