Jens Lody
e96c470dec
Avoid multiple calls of weatherprovider url, if the network-changed signal is recieived multiple times for some reasons (probably once per network device).
9 years ago
Jens Lody
deb140b4c1
Cache weatherdata if gnome-shell is locked or idle.
9 years ago
Jens Lody
473a13f970
Do not invalidate cached data if the session is idle to prevent unnecessary calls to weatherdata-provider.
9 years ago
Jens Lody
d052d52774
Only invalidate data onreconnection, if we had a refresh-timeout already.
9 years ago
Jens Lody
d0061bb0ef
Better connectivity check (hopefully).
9 years ago
Jens Lody
26a6dbef5b
Add mmHg to the pressure units, fixes #68 ; cosmetic source fix
9 years ago
Arky
06afbd6a9b
Remove 'Loading weather ...' placeholder text.
...
When working offline, I rather would have a loading icon instead of 'Loading weather ...' info text.
9 years ago
None
d431df8f96
Minor text fixes.
10 years ago
None
f42e966142
Add option to force a per location provider, independant from global default provider;
...
use gtk_noteboook for preferences, to make it possible to provide new column without blowing up the dialog-size.
10 years ago
None
61b31e9b38
Notify user, if the coordinates are invalid.
10 years ago
None
db19d3165e
Update translation files; plural forms still do not work, any hints are welcome.
10 years ago
None
f59d5f8d60
Better readability on gnome-shell 3.16: use "system-menu-action"-color for some items.
10 years ago
None
4e3a5f4521
Removed hard-coded colors, and use system styles instead, should work better with different themes.
10 years ago
None
6feddb5726
Remove more remaining code used for gnome-shell < 3.10 .
10 years ago
None
ae2a3d4aa0
Avoid deprecation-warning with gnome-shell 3.16 .
10 years ago
None
f644ef0dd1
Rename constants from WEATHER_* to OPENWEATHER_* (cosmetical fix).
10 years ago
None
e5fc8d3cf4
Updated years of copyright, added copyright notices to new files.
10 years ago
None
87e3a6e081
Code clean-up, moved weather-provider-specific code in own files.
10 years ago
None
192402b7b2
Add edit-dialog and make it workable; change search-dialog; code formatting.
10 years ago
None
e1d4f402e9
Add "Vaiaku, Tuvalu" as default location, if none is configured.
10 years ago
None
78bf5082ba
Remove code for gnome-shell < 3.10 from extension.js
10 years ago
None
67bfa97423
Make "Weather provided by"-link work correctly with multiple providers.
10 years ago
None
cf23a393a5
Use scattered-showers-icon as first choice for rain with forecast.io.
10 years ago
None
5f41c546ee
First working version with forcast.io as alternative.
10 years ago
Jens Lody
68e3a73c01
Fix year of copyright
10 years ago
Jens Lody
d0a864d8ca
Rename styles from weather-something to openweather-something, rename (global) variables accordingly
10 years ago
Jens Lody
816bcf23e3
Backport button-layout to 3.6 and 3.8 to make the ui smaller,
10 years ago
Jens Lody
061e60daa5
Use pseudo-classes to differentiate between ltr and rtl, only use clutter textdirection to make source more clear.
10 years ago
Jens Lody
cad3b3807f
Keep the dialog open when changing locations.
10 years ago
Jens Lody
232ffc89e6
Use coreect icon for refresh-button. Fixes #18 .
10 years ago
Jens Lody
11e6ebaecf
Fix St-CRITICAL because of accesssing the width of a BoxLayout before it was rendered.
10 years ago
Jens Lody
fafa7d6529
Make sure button texts are shown in any case.
10 years ago
Jens Lody
047545924f
Move link to openweathermap.org into the buttons-menu to make the ui more compact.
10 years ago
Jens Lody
06c7367e50
Fix bug #17 (arrow of menu-item that holds the locations not hidden when item is not expanded)
10 years ago
Jens Lody
f28a9edb32
Use buttons instead of menus for locations, preferences and reload.
10 years ago
Jens Lody
66380d159e
Remove unneeded imports and debug-code.
11 years ago
Jens Lody
6b238c2593
Make jshint happy.
11 years ago
Jens Lody
f3b2ad4c3b
Add missing semicolon and remove one unneded semicolon.
11 years ago
Jens Lody
91c54f4662
Remove wrong escape sequences.
11 years ago
Jens Lody
9a3eacefbc
Move functions out of loops.
11 years ago
Jens Lody
1aadd7c489
Use id instead of location name to fetch weatherdata. Fix for a bug with cities (locations) with the same name in different countries.
11 years ago
Jens Lody
b338edac21
Remove forgotten debug message.
11 years ago
Jens Lody
68867c49a3
Prepare for 3.12 compatibility.
...
Works only on 3.11.5, to make it work on other 3.11 versions, metadata.json.in has to be fixed, because development versions must be secified exactly with major.minor.point .
11 years ago
Jens Lody
5f0db933e3
Make the maximal number of digits after the decimalpoint configurable.
11 years ago
Jens Lody
2c1337b376
Use the catalan name for the default city (Eivissa).
11 years ago
Jens Lody
4f2f51bf2b
Use Gtk.show_uri instead of spawning gnome-open/xdg-open to show actual weather in browser.
11 years ago
Jens Lody
1b50cfcc4d
Add missing underscore in variable-name
11 years ago
Jens Lody
947a39800f
Abort possibly running Soup.session when extension is disabled.
11 years ago
Jens Lody
270162733f
Reparse data on each connect-event, if the network is available.
...
This should (hopefully) only lead to one reload from the server.
In any case, the weather data will be reloaded immediately after reconnection (if the server can be reached).
11 years ago
Jens Lody
cec89bce08
Invalidate data, if the physical network connection exists, but the server can not be reached or does not send data.
11 years ago