Commit Graph

243 Commits (5b4b415b8db07e015084d14efaf061227f77b167)

Author SHA1 Message Date
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 ed1b394ccf Fixed typo in label for api-key, thanks prurigro. 11 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 997890f532 Fix incorrect variable declaration. 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. 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. 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
Jens Lody 8bb7406ba9 Disconnect network monitor if the extension gets stopped. 11 years ago
Jens Lody 62090c48c5 Do not use can_reach_async to determine if the host is available, because it does not work (reliable). Just monitor if network is available or not. 11 years ago
Jens Lody c4720f39f7 Another small fix for network monitoring 11 years ago
Jens Lody 14013786d3 Fix minimum possible refresh time in pref.js, not relevant at the moment, because it's not configuranle at the moment. 11 years ago
Jens Lody d50365a8ac Fix minor error (typo), that could lead to an error message in system log if network is offline. 11 years ago
Jens Lody 4b01cf9ff1 Make more use of "Lang.bind" to make this be known in closures 11 years ago
Jens Lody 10e6e7ac56 use GNetworkMonitor to monitor network connectivity, auto-reload if (re-)connected 11 years ago
Jens Lody 781d9a2cd3 Make forecastbox scroll- and panable. 11 years ago
Jens Lody b025c21667 Show correct icon if condition code is 741 (fog). 11 years ago
Jens Lody db6deb45f7 Add missing import in prefs.js 11 years ago
Jens Lody fffe8fc1b3 Only use Soup.SessionAsync for gnome-shell < 3.8, because it's deprecated now and leads to many tcp retransmissions; use Soup.Session instead for version >= 3.8 . 11 years ago
Jens Lody a92e5d2268 Change name and schema from YAWE/weather to OpenWeather/openweather 11 years ago
Jens Lody 7d2ce46757 First try gnome-open and use xdg-open as fallback, to open openweathermap.org in browser. 11 years ago
Jens Lody 0e3c13f4b3 Use api-key, when calling openweathermap.org via the menu. 11 years ago
Jens Lody 026845154e Add date to forecasts, sometimes easier to read then just the weekday and "in xxx days" 11 years ago
Jens Lody 281e29f957 Shorten label of Api key field in prefs-dialog. 11 years ago
Jens Lody 0fa1fdb477 Add link to openweathermap.org in menu; uses gnome-open to open forecast page of the actual city if possible, fallback is openweathermaps main page. 11 years ago
Jens Lody 7668a84f33 Fix incorrect date-conversion for sunrise and sunset. 11 years ago
Jens Lody 61aae82e3a Hide forecast while rebuilding UI, fixes optical glitch. 11 years ago
Jens Lody 8db3bc02d9 Hide forecast while rebuilding UI, fixes optical glitch. 11 years ago
Jens Lody 30c0ec74b1 Fix lastBuildDate sometimes being shown as 00:00 11 years ago
Jens Lody 8a773ff1b7 Tiny code-changes: x == undefined instead of typeof x == "undefined" 11 years ago