No more code editing. This extension now uses gsettings to configure everything. Documention updated according to this functionnality Under the woods, we added gsettings schemas that need to be installed in the system so you need admin rights to install this extension.yahoo_weather
parent
5c0e32a848
commit
3b75e6a9f0
@ -0,0 +1,17 @@ |
|||||||
|
Makefile |
||||||
|
Makefile.in |
||||||
|
Makefile.in.in |
||||||
|
configure |
||||||
|
config.log |
||||||
|
config.status |
||||||
|
aclocal.m4 |
||||||
|
autom4te.cache/ |
||||||
|
po/POTFILES |
||||||
|
po/stamp-it |
||||||
|
staging/ |
||||||
|
|
||||||
|
*~ |
||||||
|
*.gmo |
||||||
|
metadata.json |
||||||
|
*.gschema.xml |
||||||
|
*.gschema.valid |
@ -0,0 +1,23 @@ |
|||||||
|
<schemalist gettext-domain="gnome-shell-extension-weather"> |
||||||
|
<enum id="org.gnome.shell.extensions.weather.unit"> |
||||||
|
<value nick="celsius" value="0" /> |
||||||
|
<value nick="fahrenheit" value="1" /> |
||||||
|
</enum> |
||||||
|
<schema id="org.gnome.shell.extensions.weather" path="/org/gnome/shell/extensions/weather/"> |
||||||
|
<key name="unit" enum="org.gnome.shell.extensions.weather.unit"> |
||||||
|
<default>'celsius'</default> |
||||||
|
<_summary>display units</_summary> |
||||||
|
<_description>Choose the units you want the temperatures. Allowed values are 'celsius' or 'fahrenheit'</_description> |
||||||
|
</key> |
||||||
|
<key name="woeid" type="s"> |
||||||
|
<default>'FRXX6724'</default> |
||||||
|
<_summary>Forecast Yahoo WOEID</_summary> |
||||||
|
<_description>Set Yahoo id location to retrieve the corresponding forecast informations</_description> |
||||||
|
</key> |
||||||
|
<key name="city" type="s"> |
||||||
|
<default>''</default> |
||||||
|
<_summary>City to be displayed</_summary> |
||||||
|
<_description>Optional, you can override the displayed city provided by the woeid location</_description> |
||||||
|
</key> |
||||||
|
</schema> |
||||||
|
</schemalist> |
Loading…
Reference in new issue