diff -Nru gnome-shell-extension-weather-0.2/data/org.gnome.shell.extensions.weather.gschema.xml.in gnome-shell-extension-weather-0~20130619.gitf74de79/data/org.gnome.shell.extensions.weather.gschema.xml.in
--- gnome-shell-extension-weather-0.2/data/org.gnome.shell.extensions.weather.gschema.xml.in 2013-03-28 20:58:23.000000000 +0000
+++ gnome-shell-extension-weather-0~20130619.gitf74de79/data/org.gnome.shell.extensions.weather.gschema.xml.in 2013-06-19 12:23:06.000000000 +0000
@@ -80,6 +80,10 @@
false
<_summary>Conditions in Panel
+
+ false
+ <_summary>Wind in Panel
+
'center'
<_summary>Position in Panel
diff -Nru gnome-shell-extension-weather-0.2/debian/bzr-builder.manifest gnome-shell-extension-weather-0~20130619.gitf74de79/debian/bzr-builder.manifest
--- gnome-shell-extension-weather-0.2/debian/bzr-builder.manifest 2013-03-28 20:58:23.000000000 +0000
+++ gnome-shell-extension-weather-0~20130619.gitf74de79/debian/bzr-builder.manifest 1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-# bzr-builder format 0.3 deb-version 0.2-0+20130328
-lp:gnome-shell-extension-weather revid:git-v1:1452a2da242c1b011851933aefc2fb88db395017
diff -Nru gnome-shell-extension-weather-0.2/debian/changelog gnome-shell-extension-weather-0~20130619.gitf74de79/debian/changelog
--- gnome-shell-extension-weather-0.2/debian/changelog 2013-03-28 20:58:23.000000000 +0000
+++ gnome-shell-extension-weather-0~20130619.gitf74de79/debian/changelog 2013-06-19 12:22:45.000000000 +0000
@@ -1,6 +1,19 @@
-gnome-shell-extension-weather (0.2-0+20130328~raring1) raring; urgency=low
+gnome-shell-extension-weather (0~20130619.gitf74de79-1) unstable; urgency=low
- * Auto build.
+ * New upstream snapshot.
+ + Uses SSL for connecting to Yahoo. (Closes: #706622)
- -- Launchpad Package Builder Thu, 28 Mar 2013 20:58:23 +0000
+ -- Sébastien Villemot Wed, 19 Jun 2013 14:21:58 +0200
+gnome-shell-extension-weather (0~20130328.git1452a2d-1) unstable; urgency=low
+
+ * New upstream release. Supports GNOME Shell 3.8. (Closes: #704147)
+ * debian/control: gnome-shell 3.8 now satisfies the dependency.
+
+ -- Sébastien Villemot Thu, 28 Mar 2013 21:11:34 +0100
+
+gnome-shell-extension-weather (0~20130224.gitfc0ac23-1) unstable; urgency=low
+
+ * Initial release. (Closes: #648653)
+
+ -- Sébastien Villemot Tue, 05 Mar 2013 22:06:48 +0100
diff -Nru gnome-shell-extension-weather-0.2/debian/compat gnome-shell-extension-weather-0~20130619.gitf74de79/debian/compat
--- gnome-shell-extension-weather-0.2/debian/compat 2013-03-28 20:58:23.000000000 +0000
+++ gnome-shell-extension-weather-0~20130619.gitf74de79/debian/compat 2013-03-05 21:46:07.000000000 +0000
@@ -1 +1 @@
-8
+9
diff -Nru gnome-shell-extension-weather-0.2/debian/control gnome-shell-extension-weather-0~20130619.gitf74de79/debian/control
--- gnome-shell-extension-weather-0.2/debian/control 2013-03-28 20:58:23.000000000 +0000
+++ gnome-shell-extension-weather-0~20130619.gitf74de79/debian/control 2013-03-28 20:13:12.000000000 +0000
@@ -1,20 +1,24 @@
Source: gnome-shell-extension-weather
Section: gnome
Priority: extra
-Maintainer: Christian METZLER
-Build-Depends: debhelper (>= 8.0.0),
- gnome-pkg-tools,
- intltool,
- libglib2.0-dev,
- libgnome-desktop-3-dev (>= 2.91.6),
- gnome-common
-Standards-Version: 3.9.2
+Maintainer: Debian GNOME Maintainers
+Uploaders: Sébastien Villemot
+Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 9), dh-autoreconf,
+ gnome-common, libglib2.0-dev
+Standards-Version: 3.9.4
Homepage: https://github.com/Neroth/gnome-shell-extension-weather
-Vcs-Git: git://github.com/Neroth/gnome-shell-extension-weather.git
-Vcs-Browser: https://Neroth@github.com/Neroth/gnome-shell-extension-weather.git
+Vcs-Svn: svn://anonscm.debian.org/svn/pkg-gnome/packages/unstable/gnome-shell-extension-weather
+Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/packages/unstable/gnome-shell-extension-weather
Package: gnome-shell-extension-weather
Architecture: all
-Depends: ${misc:Depends}, gnome-shell, seed
-Description: Weather extension for GNOME Shell
- A simple extension for displaying weather informations from several cities in GNOME Shell
+Depends: gnome-shell (>= 3.4), gnome-shell (<< 3.9), ${misc:Depends}
+Recommends: gnome-tweak-tool
+Description: weather extension for GNOME Shell
+ gnome-shell-extension-weather is a simple extension for displaying weather
+ conditions and forecasts in GNOME Shell, featuring support for multiple
+ locations, an easy way of selecting locations, and a settings panel through
+ gnome-shell-extension-prefs.
+ .
+ The weather report, including forecasts for today and tomorrow, is fetched
+ from Yahoo! Weather.
diff -Nru gnome-shell-extension-weather-0.2/debian/copyright gnome-shell-extension-weather-0~20130619.gitf74de79/debian/copyright
--- gnome-shell-extension-weather-0.2/debian/copyright 2013-03-28 20:58:23.000000000 +0000
+++ gnome-shell-extension-weather-0~20130619.gitf74de79/debian/copyright 2013-03-05 21:46:07.000000000 +0000
@@ -1,12 +1,65 @@
-Source: https://github.com/neroth/gnome-shell-extension-weather
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: gnome-shell-extension-weather
+Upstream-Contact: Christian Metzler
+Source: https://github.com/Neroth/gnome-shell-extension-weather
Files: *
-Copyright: 2011-2012 Ecyrbe ecyrbe+spam@gmail.com, Timur Kristóf venemo@msn.com, Elad Alfassa elad@fedoraproject.org, Simon Legner Simon.Legner@gmail.com, Simon Claessens gagalago@gmail.com, Christian METZLER neroth@xeked.com
-License: GPL-3.0+
+Copyright: 2011-2013
+ Elad Alfassa
+ Mark Benjamin
+ Simon Claessens
+ Ecyrbe
+ Timur Kristóf
+ Simon Legner
+ Mattia Meneguzzo
+ Christian Metzler
+License: GPL-3+
+
+Files: src/convenience.js
+Copyright: 2011-2012 Giovanni Campagna
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ * Neither the name of the GNOME nor the
+ names of its contributors may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Files: debian/*
-Copyright: Christian METZLER
-License: GPL-3.0+
+Copyright: 2013 Sébastien Villemot
+License: GPL-3+
+
+License: GPL-3+
+ gnome-shell-extension-weather is free software: you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or (at your
+ option) any later version.
+ .
+ gnome-shell-extension-weather is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+ Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along with
+ gnome-shell-extension-weather. If not, see .
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License, version 3, can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
+
- On Debian systems, the complete text of the GNU General
- Public License version 2 can be found in "/usr/share/common-licenses/GPL-3".
diff -Nru gnome-shell-extension-weather-0.2/debian/gnome-shell-extension-weather.docs gnome-shell-extension-weather-0~20130619.gitf74de79/debian/gnome-shell-extension-weather.docs
--- gnome-shell-extension-weather-0.2/debian/gnome-shell-extension-weather.docs 1970-01-01 00:00:00.000000000 +0000
+++ gnome-shell-extension-weather-0~20130619.gitf74de79/debian/gnome-shell-extension-weather.docs 2013-03-05 21:46:07.000000000 +0000
@@ -0,0 +1 @@
+README.md
diff -Nru gnome-shell-extension-weather-0.2/debian/rules gnome-shell-extension-weather-0~20130619.gitf74de79/debian/rules
--- gnome-shell-extension-weather-0.2/debian/rules 2013-03-28 20:58:23.000000000 +0000
+++ gnome-shell-extension-weather-0~20130619.gitf74de79/debian/rules 2013-03-05 21:46:07.000000000 +0000
@@ -1,8 +1,20 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/default.mk
+
%:
- dh $@
+ dh $@ --with autoreconf
+
+override_dh_autoreconf:
+ dh_autoreconf ./autogen.sh
-override_dh_auto_configure:
- ./autogen.sh --prefix=/usr
+# `make check' crashes and is useless, so disable it
override_dh_auto_test:
+
+get-orig-source:
+ git clone https://github.com/Neroth/gnome-shell-extension-weather.git gnome-shell-extension-weather-$(DEB_VERSION_UPSTREAM)
+ cd gnome-shell-extension-weather-$(DEB_VERSION_UPSTREAM) && \
+ git checkout `echo $(DEB_VERSION_UPSTREAM) | sed 's/.*git//'` && \
+ rm -rf debian
+ tar --exclude-vcs -caf gnome-shell-extension-weather_$(DEB_VERSION_UPSTREAM).orig.tar.xz gnome-shell-extension-weather-$(DEB_VERSION_UPSTREAM)
+ rm -rf gnome-shell-extension-weather-$(DEB_VERSION_UPSTREAM)
diff -Nru gnome-shell-extension-weather-0.2/debian/source/format gnome-shell-extension-weather-0~20130619.gitf74de79/debian/source/format
--- gnome-shell-extension-weather-0.2/debian/source/format 2013-08-16 08:41:15.126466531 +0000
+++ gnome-shell-extension-weather-0~20130619.gitf74de79/debian/source/format 2013-08-16 08:41:15.306465424 +0000
@@ -1 +1 @@
-3.0 (native)
+3.0 (quilt)
diff -Nru gnome-shell-extension-weather-0.2/po/LINGUAS gnome-shell-extension-weather-0~20130619.gitf74de79/po/LINGUAS
--- gnome-shell-extension-weather-0.2/po/LINGUAS 2013-03-28 20:58:23.000000000 +0000
+++ gnome-shell-extension-weather-0~20130619.gitf74de79/po/LINGUAS 2013-06-19 12:23:06.000000000 +0000
@@ -22,4 +22,5 @@
pt
el
hu
-lt
\ No newline at end of file
+lt
+tr
diff -Nru gnome-shell-extension-weather-0.2/po/es.po gnome-shell-extension-weather-0~20130619.gitf74de79/po/es.po
--- gnome-shell-extension-weather-0.2/po/es.po 2013-03-28 20:58:23.000000000 +0000
+++ gnome-shell-extension-weather-0~20130619.gitf74de79/po/es.po 2013-06-19 12:23:06.000000000 +0000
@@ -8,39 +8,40 @@
"Project-Id-Version: 3.0.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-03-11 00:47+0100\n"
-"PO-Revision-Date: 2013-03-27 16:24-0300\n"
-"Last-Translator: Cristian Beroiza \n"
-"Language-Team: Español; Castellano \n"
+"PO-Revision-Date: 2013-04-20 15:27-0600\n"
+"Last-Translator: Adolfo Jayme Barrientos \n"
+"Language-Team: Español; Castellano \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n!=1);\n"
+"X-Generator: Poedit 1.5.4\n"
#: ../src/extension.js:128
msgid "..."
-msgstr "..."
+msgstr "…"
#: ../src/extension.js:208
msgid "Locations"
-msgstr "Lugares"
+msgstr "Ubicaciones"
#: ../src/extension.js:212
msgid "Reload Weather Information"
-msgstr "Recargar información del clima"
+msgstr "Recargar la información del clima"
#: ../src/extension.js:216
msgid "Weather Settings"
-msgstr "Configuraciones del clima"
+msgstr "Configuración del clima"
#: ../src/extension.js:242
#, python-format
msgid "Schema \"%s\" not found."
-msgstr "El esquema \"%s\" no ha sido encontrado."
+msgstr "No se encontró el esquema «%s»."
#: ../src/extension.js:523 ../src/prefs.js:756
msgid "Invalid city"
-msgstr "Ciudad inválida"
+msgstr "Ciudad no válida"
#: ../src/extension.js:738
msgid "Tornado"
@@ -220,23 +221,23 @@
#: ../src/extension.js:884
msgid "Light breeze"
-msgstr "Ventisca suave"
+msgstr "Brisa ligera"
#: ../src/extension.js:887
msgid "Gentle breeze"
-msgstr "Ventisca suave"
+msgstr "Brisa suave"
#: ../src/extension.js:890
msgid "Moderate breeze"
-msgstr "Ventisca moderada"
+msgstr "Brisa moderada"
#: ../src/extension.js:893
msgid "Fresh breeze"
-msgstr "Ventisca suave"
+msgstr "Brisa suave"
#: ../src/extension.js:896
msgid "Strong breeze"
-msgstr "Ventisa fuerte"
+msgstr "Brisa fuerte"
#: ../src/extension.js:899
msgid "Moderate gale"
@@ -325,7 +326,7 @@
#: ../src/extension.js:1210 ../src/extension.js:1339
#, python-format
msgid "%s days ago"
-msgstr "%s dias atrás"
+msgstr "Hace %s días"
#: ../src/extension.js:1331
msgid "Today"
@@ -342,19 +343,19 @@
#: ../src/extension.js:1371
msgid "Loading current weather ..."
-msgstr "Cargando clima actual ..."
+msgstr "Cargando el clima actual…"
#: ../src/extension.js:1372
msgid "Loading future weather ..."
-msgstr "Cargando clima futuro ..."
+msgstr "Cargando el clima futuro…"
#: ../src/extension.js:1405
msgid "Loading ..."
-msgstr "Cargando ..."
+msgstr "Cargando…"
#: ../src/extension.js:1408
msgid "Please wait"
-msgstr "Porfavor espere"
+msgstr "Espere un momento"
#: ../src/extension.js:1453
msgid "Feels like:"
@@ -410,7 +411,7 @@
#: ../src/prefs.js:136
msgid "Symbolic Icons"
-msgstr "Íconos simbólicos"
+msgstr "Iconos monocromáticos"
#: ../src/prefs.js:138
msgid "Temperature in Panel"
@@ -427,4 +428,4 @@
#: ../src/prefs.js:452
#, python-format
msgid "Remove %s ?"
-msgstr "Remover %s ?"
+msgstr "¿Quiere eliminar %s?"
diff -Nru gnome-shell-extension-weather-0.2/po/nl.po gnome-shell-extension-weather-0~20130619.gitf74de79/po/nl.po
--- gnome-shell-extension-weather-0.2/po/nl.po 2013-03-28 20:58:23.000000000 +0000
+++ gnome-shell-extension-weather-0~20130619.gitf74de79/po/nl.po 2013-06-19 12:23:06.000000000 +0000
@@ -8,13 +8,14 @@
"Project-Id-Version: 3.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-03-11 00:47+0100\n"
-"PO-Revision-Date: 2012-05-13 22:39+0100\n"
-"Last-Translator: Christian METZLER \n"
+"PO-Revision-Date: 2013-04-01 00:22+0100\n"
+"Last-Translator: Heimen Stoffels \n"
"Language-Team: \n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.5.4\n"
#: ../src/extension.js:128
msgid "..."
@@ -22,24 +23,24 @@
#: ../src/extension.js:208
msgid "Locations"
-msgstr ""
+msgstr "Locaties"
#: ../src/extension.js:212
msgid "Reload Weather Information"
-msgstr ""
+msgstr "Ververs weerinformatie"
#: ../src/extension.js:216
msgid "Weather Settings"
-msgstr ""
+msgstr "Weerinstellingen"
#: ../src/extension.js:242
#, python-format
msgid "Schema \"%s\" not found."
-msgstr ""
+msgstr "Schema \"%s\" kon niet worden gevonden."
#: ../src/extension.js:523 ../src/prefs.js:756
msgid "Invalid city"
-msgstr ""
+msgstr "Ongeldige stad"
#: ../src/extension.js:738
msgid "Tornado"
@@ -55,7 +56,7 @@
#: ../src/extension.js:744
msgid "Severe thunderstorms"
-msgstr "Zware onweer"
+msgstr "Zwaar onweer"
#: ../src/extension.js:746
msgid "Thunderstorms"
@@ -63,19 +64,19 @@
#: ../src/extension.js:748
msgid "Mixed rain and snow"
-msgstr "Regen en sneeuw"
+msgstr "Mix van regen en sneeuw"
#: ../src/extension.js:750
msgid "Mixed rain and sleet"
-msgstr "Regen en hagel"
+msgstr "Mix van regen en ijzel"
#: ../src/extension.js:752
msgid "Mixed snow and sleet"
-msgstr "Sneeuw en hagel"
+msgstr "Mix van sneeuw en ijzel"
#: ../src/extension.js:754
msgid "Freezing drizzle"
-msgstr "Motijzel"
+msgstr "IJsmotregen"
#: ../src/extension.js:756
msgid "Drizzle"
@@ -83,15 +84,15 @@
#: ../src/extension.js:758
msgid "Freezing rain"
-msgstr "IJzel"
+msgstr "Bevroren regen"
#: ../src/extension.js:760 ../src/extension.js:762
msgid "Showers"
-msgstr "Regenbuien"
+msgstr "Buien"
#: ../src/extension.js:764
msgid "Snow flurries"
-msgstr "Lichte sneeuwval"
+msgstr "Sneeuwwindstoten"
#: ../src/extension.js:766
msgid "Light snow showers"
@@ -111,7 +112,7 @@
#: ../src/extension.js:774
msgid "Sleet"
-msgstr "Stofhagel"
+msgstr "IJzel"
#: ../src/extension.js:776
msgid "Dust"
@@ -119,19 +120,19 @@
#: ../src/extension.js:778
msgid "Foggy"
-msgstr "Nevelig"
+msgstr "Mistig"
#: ../src/extension.js:780
msgid "Haze"
-msgstr "Mistig"
+msgstr "Mist"
#: ../src/extension.js:782
msgid "Smoky"
-msgstr "Smok"
+msgstr "Walmend"
#: ../src/extension.js:784
msgid "Blustery"
-msgstr "Windvlagen"
+msgstr "Heftig"
#: ../src/extension.js:786
msgid "Windy"
@@ -139,7 +140,7 @@
#: ../src/extension.js:788
msgid "Cold"
-msgstr "IJzig"
+msgstr "Koud"
#: ../src/extension.js:790
msgid "Cloudy"
@@ -147,7 +148,7 @@
#: ../src/extension.js:793
msgid "Mostly cloudy"
-msgstr "Zwaar bewolkt"
+msgstr "Voornamelijk bewolkt"
#: ../src/extension.js:796 ../src/extension.js:822
msgid "Partly cloudy"
@@ -167,7 +168,7 @@
#: ../src/extension.js:805
msgid "Mixed rain and hail"
-msgstr "Regen en hagel"
+msgstr "Mix van regen en hagel"
#: ../src/extension.js:807
msgid "Hot"
@@ -175,11 +176,11 @@
#: ../src/extension.js:809
msgid "Isolated thunderstorms"
-msgstr "Geïsoleerde onweer"
+msgstr "Geïsoleerde onweersbuien"
#: ../src/extension.js:812
msgid "Scattered thunderstorms"
-msgstr "Verspreide onweer"
+msgstr "Verspreide onweersbuien"
#: ../src/extension.js:814
msgid "Scattered showers"
@@ -211,51 +212,51 @@
#: ../src/extension.js:878
msgid "Calm"
-msgstr ""
+msgstr "Kalm"
#: ../src/extension.js:881
msgid "Light air"
-msgstr ""
+msgstr "Heldere lucht"
#: ../src/extension.js:884
msgid "Light breeze"
-msgstr ""
+msgstr "Zachte wind"
#: ../src/extension.js:887
msgid "Gentle breeze"
-msgstr ""
+msgstr "Subtiele wind"
#: ../src/extension.js:890
msgid "Moderate breeze"
-msgstr ""
+msgstr "Gemiddelde wind"
#: ../src/extension.js:893
msgid "Fresh breeze"
-msgstr ""
+msgstr "Frisse wind"
#: ../src/extension.js:896
msgid "Strong breeze"
-msgstr ""
+msgstr "Sterke wind"
#: ../src/extension.js:899
msgid "Moderate gale"
-msgstr ""
+msgstr "Gemiddelde storm"
#: ../src/extension.js:902
msgid "Fresh gale"
-msgstr ""
+msgstr "Frisse storm"
#: ../src/extension.js:905
msgid "Strong gale"
-msgstr ""
+msgstr "Sterke storm"
#: ../src/extension.js:908
msgid "Storm"
-msgstr ""
+msgstr "Storm"
#: ../src/extension.js:911
msgid "Violent storm"
-msgstr ""
+msgstr "Agressieve storm"
#: ../src/extension.js:919
msgid "Sunday"
@@ -287,44 +288,44 @@
#: ../src/extension.js:926
msgid "N"
-msgstr ""
+msgstr "N"
#: ../src/extension.js:926
msgid "NE"
-msgstr ""
+msgstr "NO"
#: ../src/extension.js:926
msgid "E"
-msgstr ""
+msgstr "O"
#: ../src/extension.js:926
msgid "SE"
-msgstr ""
+msgstr "ZO"
#: ../src/extension.js:926
msgid "S"
-msgstr ""
+msgstr "Z"
#: ../src/extension.js:926
msgid "SW"
-msgstr ""
+msgstr "ZW"
#: ../src/extension.js:926
msgid "W"
-msgstr ""
+msgstr "W"
#: ../src/extension.js:926
msgid "NW"
-msgstr ""
+msgstr "NW"
#: ../src/extension.js:1208 ../src/extension.js:1337
msgid "Yesterday"
-msgstr ""
+msgstr "Gisteren"
#: ../src/extension.js:1210 ../src/extension.js:1339
#, python-format
msgid "%s days ago"
-msgstr ""
+msgstr "%s dagen geleden"
#: ../src/extension.js:1331
msgid "Today"
@@ -337,27 +338,27 @@
#: ../src/extension.js:1335
#, python-format
msgid "In %s days"
-msgstr ""
+msgstr "Over %s dagen"
#: ../src/extension.js:1371
msgid "Loading current weather ..."
-msgstr "Laden aktueel weer ..."
+msgstr "Bezig met laden van huidig weer ..."
#: ../src/extension.js:1372
msgid "Loading future weather ..."
-msgstr "Laden weersverwachting ..."
+msgstr "Bezig met laden van weersverwachting ..."
#: ../src/extension.js:1405
msgid "Loading ..."
-msgstr "Laden ..."
+msgstr "Bezig met laden ..."
#: ../src/extension.js:1408
msgid "Please wait"
-msgstr "Wachten alstublieft"
+msgstr "Wacht alstublieft"
#: ../src/extension.js:1453
msgid "Feels like:"
-msgstr ""
+msgstr "Voelt als:"
#: ../src/extension.js:1455
msgid "Humidity:"
@@ -373,58 +374,57 @@
#: ../src/prefs.js:124
msgid "Temperature Unit"
-msgstr "Temperatuur:"
+msgstr "Temperatuureenheid:"
#: ../src/prefs.js:126
msgid "Wind Speed Unit"
-msgstr ""
+msgstr "Windsnelheidseenheid"
#: ../src/prefs.js:128
-#, fuzzy
msgid "Pressure Unit"
-msgstr "Luchtdruk:"
+msgstr "Drukeenheid"
#: ../src/prefs.js:130
msgid "Position in Panel"
-msgstr ""
+msgstr "Locatie op paneel"
#: ../src/prefs.js:131
msgid "Center"
-msgstr ""
+msgstr "Midden"
#: ../src/prefs.js:131
msgid "Right"
-msgstr ""
+msgstr "Rechts"
#: ../src/prefs.js:131
msgid "Left"
-msgstr ""
+msgstr "Links"
#: ../src/prefs.js:132
msgid "Wind Direction by Arrows"
-msgstr ""
+msgstr "Windrichting door pijlen"
#: ../src/prefs.js:134
msgid "Translate Conditions"
-msgstr ""
+msgstr "Vertaal omstandigheden"
#: ../src/prefs.js:136
msgid "Symbolic Icons"
-msgstr ""
+msgstr "Symbolische pictogrammen"
#: ../src/prefs.js:138
msgid "Temperature in Panel"
-msgstr "Temperatuur:"
+msgstr "Temperatuur op paneel"
#: ../src/prefs.js:140
msgid "Conditions in Panel"
-msgstr ""
+msgstr "Omstandigheden op paneel"
#: ../src/prefs.js:277
msgid "Name of the city"
-msgstr ""
+msgstr "Naam van de stad"
#: ../src/prefs.js:452
#, python-format
msgid "Remove %s ?"
-msgstr ""
+msgstr "Verwijder %s ?"
diff -Nru gnome-shell-extension-weather-0.2/po/tr.po gnome-shell-extension-weather-0~20130619.gitf74de79/po/tr.po
--- gnome-shell-extension-weather-0.2/po/tr.po 1970-01-01 00:00:00.000000000 +0000
+++ gnome-shell-extension-weather-0~20130619.gitf74de79/po/tr.po 2013-06-19 12:23:06.000000000 +0000
@@ -0,0 +1,431 @@
+# Turkish translations for gnome-shell-extension-weather package
+# Copyright (C) 2013
+# This file is distributed under the same license as the gnome-shell-extension-weather package.
+# Osman Karagöz , 2013.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-shell-extension-weather\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-03-11 00:47+0100\n"
+"PO-Revision-Date: 2013-04-15 15:37+0300\n"
+"Last-Translator: Osman Karagöz \n"
+"Language-Team: Turkish <>\n"
+"Language: tr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: Gtranslator 2.91.6\n"
+
+#: ../src/extension.js:128
+msgid "..."
+msgstr "..."
+
+#: ../src/extension.js:208
+msgid "Locations"
+msgstr "Konumlar"
+
+#: ../src/extension.js:212
+msgid "Reload Weather Information"
+msgstr "Hava Durumunu Güncelle"
+
+#: ../src/extension.js:216
+msgid "Weather Settings"
+msgstr "Hava Durumu Ayarları"
+
+#: ../src/extension.js:242
+#, python-format
+msgid "Schema \"%s\" not found."
+msgstr "\"%s\" şeması bulunamadı."
+
+#: ../src/extension.js:523 ../src/prefs.js:756
+msgid "Invalid city"
+msgstr "Geçersiz şehir"
+
+#: ../src/extension.js:738
+msgid "Tornado"
+msgstr "Kasırga"
+
+#: ../src/extension.js:740
+msgid "Tropical storm"
+msgstr "Tropik fırtına"
+
+#: ../src/extension.js:742 ../src/extension.js:914
+msgid "Hurricane"
+msgstr "Fırtına"
+
+#: ../src/extension.js:744
+msgid "Severe thunderstorms"
+msgstr "Şiddetli fırtınalar"
+
+#: ../src/extension.js:746
+msgid "Thunderstorms"
+msgstr "Fırtına"
+
+#: ../src/extension.js:748
+msgid "Mixed rain and snow"
+msgstr "Karla karışık yağmur"
+
+#: ../src/extension.js:750
+msgid "Mixed rain and sleet"
+msgstr "Sulu karla karışık yağmur"
+
+#: ../src/extension.js:752
+msgid "Mixed snow and sleet"
+msgstr "Karla karışık yağmur"
+
+#: ../src/extension.js:754
+msgid "Freezing drizzle"
+msgstr "Dondurucu çise"
+
+#: ../src/extension.js:756
+msgid "Drizzle"
+msgstr "Çise"
+
+#: ../src/extension.js:758
+msgid "Freezing rain"
+msgstr "Dondurucu yağmur"
+
+#: ../src/extension.js:760 ../src/extension.js:762
+msgid "Showers"
+msgstr "Yağışlı"
+
+#: ../src/extension.js:764
+msgid "Snow flurries"
+msgstr "Kar fırtınası"
+
+#: ../src/extension.js:766
+msgid "Light snow showers"
+msgstr "Hafif kar yağışı"
+
+#: ../src/extension.js:768
+msgid "Blowing snow"
+msgstr "Tipi"
+
+#: ../src/extension.js:770
+msgid "Snow"
+msgstr "Kar"
+
+#: ../src/extension.js:772
+msgid "Hail"
+msgstr "Dolu"
+
+#: ../src/extension.js:774
+msgid "Sleet"
+msgstr "Sulu Kar"
+
+#: ../src/extension.js:776
+msgid "Dust"
+msgstr "Toz"
+
+#: ../src/extension.js:778
+msgid "Foggy"
+msgstr "Sisli"
+
+#: ../src/extension.js:780
+msgid "Haze"
+msgstr "Puslu"
+
+#: ../src/extension.js:782
+msgid "Smoky"
+msgstr "Dumanlı"
+
+#: ../src/extension.js:784
+msgid "Blustery"
+msgstr ""
+
+#: ../src/extension.js:786
+msgid "Windy"
+msgstr "Rüzgarlı"
+
+#: ../src/extension.js:788
+msgid "Cold"
+msgstr "Soğuk"
+
+#: ../src/extension.js:790
+msgid "Cloudy"
+msgstr "Bulutlu"
+
+#: ../src/extension.js:793
+msgid "Mostly cloudy"
+msgstr "Çok bulutlu"
+
+#: ../src/extension.js:796 ../src/extension.js:822
+msgid "Partly cloudy"
+msgstr "Parçalı bulutlu"
+
+#: ../src/extension.js:798
+msgid "Clear"
+msgstr "Temiz"
+
+#: ../src/extension.js:800
+msgid "Sunny"
+msgstr "Güneşli"
+
+#: ../src/extension.js:803
+msgid "Fair"
+msgstr "Açık"
+
+#: ../src/extension.js:805
+msgid "Mixed rain and hail"
+msgstr "Dolu ile karışık yağmur"
+
+#: ../src/extension.js:807
+msgid "Hot"
+msgstr "Sıcak"
+
+#: ../src/extension.js:809
+msgid "Isolated thunderstorms"
+msgstr ""
+
+#: ../src/extension.js:812
+msgid "Scattered thunderstorms"
+msgstr ""
+
+#: ../src/extension.js:814
+msgid "Scattered showers"
+msgstr "Sağanak yağışılı"
+
+#: ../src/extension.js:816 ../src/extension.js:820
+msgid "Heavy snow"
+msgstr "Kuvvetli Kar"
+
+#: ../src/extension.js:818
+msgid "Scattered snow showers"
+msgstr "Sağanak kar yağışı"
+
+#: ../src/extension.js:824
+msgid "Thundershowers"
+msgstr ""
+
+#: ../src/extension.js:826
+msgid "Snow showers"
+msgstr "Kar yağışlı"
+
+#: ../src/extension.js:828
+msgid "Isolated thundershowers"
+msgstr ""
+
+#: ../src/extension.js:831
+msgid "Not available"
+msgstr "Mevcut değil"
+
+#: ../src/extension.js:878
+msgid "Calm"
+msgstr "Durgun"
+
+#: ../src/extension.js:881
+msgid "Light air"
+msgstr "Esinti"
+
+#: ../src/extension.js:884
+msgid "Light breeze"
+msgstr "Hafif esinti"
+
+#: ../src/extension.js:887
+msgid "Gentle breeze"
+msgstr "Hafif esinti"
+
+#: ../src/extension.js:890
+msgid "Moderate breeze"
+msgstr "Orta esinti"
+
+#: ../src/extension.js:893
+msgid "Fresh breeze"
+msgstr "Taze esinti"
+
+#: ../src/extension.js:896
+msgid "Strong breeze"
+msgstr "Güçlü esinti"
+
+#: ../src/extension.js:899
+msgid "Moderate gale"
+msgstr "Orta fırtına"
+
+#: ../src/extension.js:902
+msgid "Fresh gale"
+msgstr "Taze Fırtına"
+
+#: ../src/extension.js:905
+msgid "Strong gale"
+msgstr "Güçlü Fırtına"
+
+#: ../src/extension.js:908
+msgid "Storm"
+msgstr "Fırtına"
+
+#: ../src/extension.js:911
+msgid "Violent storm"
+msgstr "Şiddetli fırtına"
+
+#: ../src/extension.js:919
+msgid "Sunday"
+msgstr "Pazar"
+
+#: ../src/extension.js:919
+msgid "Monday"
+msgstr "Pazartesi"
+
+#: ../src/extension.js:919
+msgid "Tuesday"
+msgstr "Salı"
+
+#: ../src/extension.js:919
+msgid "Wednesday"
+msgstr "Çarşamba"
+
+#: ../src/extension.js:919
+msgid "Thursday"
+msgstr "Perşembe"
+
+#: ../src/extension.js:919
+msgid "Friday"
+msgstr "Cuma"
+
+#: ../src/extension.js:919
+msgid "Saturday"
+msgstr "Cumartesi"
+
+#: ../src/extension.js:926
+msgid "N"
+msgstr "K"
+
+#: ../src/extension.js:926
+msgid "NE"
+msgstr "KD"
+
+#: ../src/extension.js:926
+msgid "E"
+msgstr "D"
+
+#: ../src/extension.js:926
+msgid "SE"
+msgstr "GD"
+
+#: ../src/extension.js:926
+msgid "S"
+msgstr "G"
+
+#: ../src/extension.js:926
+msgid "SW"
+msgstr "GB"
+
+#: ../src/extension.js:926
+msgid "W"
+msgstr "B"
+
+#: ../src/extension.js:926
+msgid "NW"
+msgstr "KB"
+
+#: ../src/extension.js:1208 ../src/extension.js:1337
+msgid "Yesterday"
+msgstr "Dün"
+
+#: ../src/extension.js:1210 ../src/extension.js:1339
+#, python-format
+msgid "%s days ago"
+msgstr "%s gün önce"
+
+#: ../src/extension.js:1331
+msgid "Today"
+msgstr "Bugün"
+
+#: ../src/extension.js:1333
+msgid "Tomorrow"
+msgstr "Yarın"
+
+#: ../src/extension.js:1335
+#, python-format
+msgid "In %s days"
+msgstr "%s gün içinde"
+
+#: ../src/extension.js:1371
+msgid "Loading current weather ..."
+msgstr "Hava durumu yükleniyor ..."
+
+#: ../src/extension.js:1372
+msgid "Loading future weather ..."
+msgstr "Hava tahminleri yükleniyor ..."
+
+#: ../src/extension.js:1405
+msgid "Loading ..."
+msgstr "Yükleniyor ..."
+
+#: ../src/extension.js:1408
+msgid "Please wait"
+msgstr "Lütfen bekleyin"
+
+#: ../src/extension.js:1453
+msgid "Feels like:"
+msgstr "Hissedilen:"
+
+#: ../src/extension.js:1455
+msgid "Humidity:"
+msgstr "Nem:"
+
+#: ../src/extension.js:1457
+msgid "Pressure:"
+msgstr "Basınç:"
+
+#: ../src/extension.js:1459
+msgid "Wind:"
+msgstr "Rüzgar:"
+
+#: ../src/prefs.js:124
+msgid "Temperature Unit"
+msgstr "Sıcaklık Birimi"
+
+#: ../src/prefs.js:126
+msgid "Wind Speed Unit"
+msgstr "Rüzgar Hızı Birimi"
+
+#: ../src/prefs.js:128
+msgid "Pressure Unit"
+msgstr "Basınç Birimi"
+
+#: ../src/prefs.js:130
+msgid "Position in Panel"
+msgstr "Paneldeki Konum"
+
+#: ../src/prefs.js:131
+msgid "Center"
+msgstr "Orta"
+
+#: ../src/prefs.js:131
+msgid "Right"
+msgstr "Sağ"
+
+#: ../src/prefs.js:131
+msgid "Left"
+msgstr "Sol"
+
+#: ../src/prefs.js:132
+msgid "Wind Direction by Arrows"
+msgstr "Oklarla rüzgar yönleri"
+
+#: ../src/prefs.js:134
+msgid "Translate Conditions"
+msgstr "Durumları Çevir"
+
+#: ../src/prefs.js:136
+msgid "Symbolic Icons"
+msgstr "Sembolik Simgeler"
+
+#: ../src/prefs.js:138
+msgid "Temperature in Panel"
+msgstr "Panelde Sıcaklık"
+
+#: ../src/prefs.js:140
+msgid "Conditions in Panel"
+msgstr "Panelde Durum"
+
+#: ../src/prefs.js:277
+msgid "Name of the city"
+msgstr "Şehir Adı"
+
+#: ../src/prefs.js:452
+#, python-format
+msgid "Remove %s ?"
+msgstr "%s silinsin mi?"
diff -Nru gnome-shell-extension-weather-0.2/src/extension.js gnome-shell-extension-weather-0~20130619.gitf74de79/src/extension.js
--- gnome-shell-extension-weather-0.2/src/extension.js 2013-03-28 20:58:23.000000000 +0000
+++ gnome-shell-extension-weather-0~20130619.gitf74de79/src/extension.js 2013-06-19 12:23:06.000000000 +0000
@@ -63,6 +63,7 @@
const WEATHER_TRANSLATE_CONDITION_KEY = 'translate-condition';
const WEATHER_USE_SYMBOLIC_ICONS_KEY = 'use-symbolic-icons';
const WEATHER_SHOW_TEXT_IN_PANEL_KEY = 'show-text-in-panel';
+const WEATHER_SHOW_WIND_IN_PANEL_KEY = 'show-wind-in-panel';
const WEATHER_POSITION_IN_PANEL_KEY = 'position-in-panel';
const WEATHER_SHOW_COMMENT_IN_PANEL_KEY = 'show-comment-in-panel';
const WEATHER_REFRESH_INTERVAL = 'refresh-interval';
@@ -456,6 +457,20 @@
this._settings.set_boolean(WEATHER_SHOW_TEXT_IN_PANEL_KEY,v);
},
+ get _wind_in_panel()
+ {
+ if(!this._settings)
+ this.loadConfig();
+ return this._settings.get_boolean(WEATHER_SHOW_WIND_IN_PANEL_KEY);
+ },
+
+ set _wind_in_panel(v)
+ {
+ if(!this._settings)
+ this.loadConfig();
+ this._settings.set_boolean(WEATHER_SHOW_WIND_IN_PANEL_KEY,v);
+ },
+
get _position_in_panel()
{
if(!this._settings)
@@ -574,7 +589,7 @@
{
if(!this.extractWoeid(cities[a]))
{
- this.load_json_async(encodeURI("http://query.yahooapis.com/v1/public/yql?format=json&q=select woeid,name,admin1,country from geo.places where text = '"+cities[a]+"' limit 1"),function()
+ this.load_json_async(encodeURI("https://query.yahooapis.com/v1/public/yql?format=json&q=select woeid,name,admin1,country from geo.places where text = '"+cities[a]+"' limit 1"),function()
{
let city = arguments[0].query;
if(typeof city == "object" && typeof city.results == "object")
@@ -629,11 +644,11 @@
},
get_weather_url: function() {
- return encodeURI('http://query.yahooapis.com/v1/public/yql?format=json&q=select * from weather.forecast where woeid = '+this.extractWoeid(this._city)+' and u="f"');
+ return encodeURI('https://query.yahooapis.com/v1/public/yql?format=json&q=select * from weather.forecast where woeid = '+this.extractWoeid(this._city)+' and u="f"');
},
get_weather_icon: function(code) {
- /* see http://developer.yahoo.com/weather/#codetable */
+ /* see //developer.yahoo.com/weather/#codetable */
/* fallback icons are: weather-clear-night weather-clear weather-few-clouds-night weather-few-clouds weather-fog weather-overcast weather-severe-alert weather-showers weather-showers-scattered weather-snow weather-storm */
switch (parseInt(code, 10)) {
case 0:/* tornado */
@@ -1210,7 +1225,26 @@
break;
}
- let lastBuild = (this.lastBuildDate.getHours()%12)+":"+((this.lastBuildDate.getMinutes()<10)?"0":"")+this.lastBuildDate.getMinutes()+" "+((this.lastBuildDate.getHours() >= 12)?"pm":"am");
+ let dateTo12h = function(date)
+ {
+ let hours = (date.getHours()%12);
+ if(hours == 0)
+ hours = 12;
+
+ let minutes = ((date.getMinutes()<10)?"0":"")+date.getMinutes();
+
+ let amPm = ((date.getHours() >= 12)?"PM":"AM");
+
+ return String(hours+":"+minutes+" "+amPm);
+ };
+
+ let lastBuild = dateTo12h(this.lastBuildDate);
+
+ sunrise = sunrise.replace("am","AM");
+ sunrise = sunrise.replace("pm","PM");
+
+ sunset = sunset.replace("am","AM");
+ sunset = sunset.replace("pm","PM");
if(this._clockFormat == "24h")
{
@@ -1230,17 +1264,6 @@
this._currentWeatherIcon.icon_name = this._weatherIcon.icon_name = iconname;
- let weatherInfoC = "";
- let weatherInfoT = "";
-
- if (this._comment_in_panel)
- weatherInfoC = comment;
-
- if (this._text_in_panel)
- weatherInfoT = parseFloat(temperature).toLocaleString() + ' ' + this.unit_to_unicode();
-
- this._weatherInfo.text = weatherInfoC + ((weatherInfoC && weatherInfoT) ? ", " : "") + weatherInfoT;
-
this._currentWeatherSummary.text = comment + ", " + parseFloat(temperature).toLocaleString() + ' ' + this.unit_to_unicode();
this._currentWeatherLocation.text = location;
this._currentWeatherTemperature.text = parseFloat(chill).toLocaleString() + ' ' + this.unit_to_unicode();
@@ -1289,6 +1312,21 @@
else // i.e. wind > 0 && wind_direction
this._currentWeatherWind.text = wind_direction + ' ' + parseFloat(wind).toLocaleString() + ' ' + wind_unit;
+ let weatherInfoC = "";
+ let weatherInfoT = "";
+ let weatherInfoW = "";
+
+ if (this._comment_in_panel)
+ weatherInfoC = comment;
+
+ if (this._text_in_panel)
+ weatherInfoT = parseFloat(temperature).toLocaleString() + ' ' + this.unit_to_unicode();
+
+ if (this._wind_in_panel)
+ weatherInfoW = this._currentWeatherWind.text;
+
+ this._weatherInfo.text = weatherInfoC + ((weatherInfoC && weatherInfoT) ? ", " : "") + weatherInfoT + ((weatherInfoW && (weatherInfoC || weatherInfoT)) ? ", " : "") + weatherInfoW;
+
// Refresh forecast
for (let i = 0; i <= 1; i++) {
let forecastUi = this._forecast[i];
diff -Nru gnome-shell-extension-weather-0.2/src/prefs.js gnome-shell-extension-weather-0~20130619.gitf74de79/src/prefs.js
--- gnome-shell-extension-weather-0.2/src/prefs.js 2013-03-28 20:58:23.000000000 +0000
+++ gnome-shell-extension-weather-0~20130619.gitf74de79/src/prefs.js 2013-06-19 12:23:06.000000000 +0000
@@ -51,6 +51,7 @@
const WEATHER_TRANSLATE_CONDITION_KEY = 'translate-condition';
const WEATHER_USE_SYMBOLIC_ICONS_KEY = 'use-symbolic-icons';
const WEATHER_SHOW_TEXT_IN_PANEL_KEY = 'show-text-in-panel';
+const WEATHER_SHOW_WIND_IN_PANEL_KEY = 'show-wind-in-panel';
const WEATHER_POSITION_IN_PANEL_KEY = 'position-in-panel';
const WEATHER_SHOW_COMMENT_IN_PANEL_KEY = 'show-comment-in-panel';
const WEATHER_REFRESH_INTERVAL = 'refresh-interval';
@@ -139,6 +140,8 @@
this.addSwitch("text_in_panel");
this.addLabel(_("Conditions in Panel"));
this.addSwitch("comment_in_panel");
+ this.addLabel(_("Wind in Panel"));
+ this.addSwitch("wind_in_panel");
},
refreshUI : function()
@@ -279,7 +282,7 @@
let entry = new Gtk.Entry();
let completion = new Gtk.EntryCompletion();
entry.set_completion(completion);
- let completionModel = new Gtk.ListStore.new([GObject.TYPE_STRING]);
+ let completionModel = Gtk.ListStore.new([GObject.TYPE_STRING]);
completion.set_model(completionModel);
completion.set_text_column(0);
completion.set_popup_single_match(true);
@@ -320,7 +323,7 @@
if(!woeid)
return 0;
- that.loadJsonAsync(encodeURI('http://query.yahooapis.com/v1/public/yql?q=select woeid from geo.places where woeid = "'+woeid+'" limit 1&format=json'),function()
+ that.loadJsonAsync(encodeURI('https://query.yahooapis.com/v1/public/yql?q=select woeid from geo.places where woeid = "'+woeid+'" limit 1&format=json'),function()
{
d.sensitive = 0;
if(typeof arguments[0].query == "undefined")
@@ -340,7 +343,7 @@
{
let location = entry.get_text();
if(testLocation(location) == 0)
- that.loadJsonAsync(encodeURI('http://query.yahooapis.com/v1/public/yql?q=select woeid,name,admin1,country from geo.places where text = "*'+location+'*" or text = "'+location+'"&format=json'),function()
+ that.loadJsonAsync(encodeURI('https://query.yahooapis.com/v1/public/yql?q=select woeid,name,admin1,country from geo.places where text = "*'+location+'*" or text = "'+location+'"&format=json'),function()
{
if(!arguments[0])
return 0;
@@ -413,7 +416,7 @@
if(!woeid)
return 0;
- that.loadJsonAsync(encodeURI('http://query.yahooapis.com/v1/public/yql?format=json&q=select woeid,name,admin1,country from geo.places where woeid = "'+woeid+'" limit 1'),function()
+ that.loadJsonAsync(encodeURI('https://query.yahooapis.com/v1/public/yql?format=json&q=select woeid,name,admin1,country from geo.places where woeid = "'+woeid+'" limit 1'),function()
{
let city = arguments[0].query;
if(Number(city.count) > 0)
@@ -500,14 +503,14 @@
let path = this.actual_city;
if(arguments[0])
path = arguments[0];
- path = new Gtk.TreePath.new_from_string(String(path));
+ path = Gtk.TreePath.new_from_string(String(path));
this.treeview.get_selection().select_path(path);
},
loadJsonAsync : function(url, fun, id)
{
let here = this;
- let message = new Soup.Message.new('GET', url);
+ let message = Soup.Message.new('GET', url);
if(typeof this.asyncSession == "undefined")
this.asyncSession = {};
@@ -707,6 +710,19 @@
this.loadConfig();
this.Settings.set_boolean(WEATHER_SHOW_TEXT_IN_PANEL_KEY,v);
},
+ get wind_in_panel()
+ {
+ if(!this.Settings)
+ this.loadConfig();
+ return this.Settings.get_boolean(WEATHER_SHOW_WIND_IN_PANEL_KEY);
+ },
+
+ set wind_in_panel(v)
+ {
+ if(!this.Settings)
+ this.loadConfig();
+ this.Settings.set_boolean(WEATHER_SHOW_WIND_IN_PANEL_KEY,v);
+ },
get position_in_panel()
{