Updated documentation (added show-comment-in-panel).

yahoo_weather
simon04 14 years ago
parent 445b64833b
commit 6f41d437ec
  1. 9
      README.md
  2. 6
      src/org.gnome.shell.extensions.weather.gschema.xml.in

@ -67,11 +67,18 @@ If desired, you can enable the usage of symbolic icons to display the weather co
#### Show Text in Panel (optional, true by default) #### Show Text in Panel (optional, true by default)
You can configure whether to show the weather condition text together with the temperature in the panel (requires restart of GNOME Shell). You can configure whether to show the weather condition text (aka. comment) together with the temperature in the panel (requires restart). If only weather condition text is undesired, consider show-comment-in-panel option.
gsettings set org.gnome.shell.extensions.weather show-text-in-panel true gsettings set org.gnome.shell.extensions.weather show-text-in-panel true
gsettings set org.gnome.shell.extensions.weather show-text-in-panel false gsettings set org.gnome.shell.extensions.weather show-text-in-panel false
#### Show Comment in Panel (optional, false by default)
Configures whether to show the comment (aka. weather condition text, e.g. "Windy", "Clear") in the panel. Note that the temperature is still shown (if undesired, consider show-text-in-panel option).
gsettings set org.gnome.shell.extensions.weather show-comment-in-panel false
gsettings set org.gnome.shell.extensions.weather show-comment-in-panel true
#### Position in Panel (optional, center by default) #### Position in Panel (optional, center by default)
The position of this GNOME Shell extension in the panel can be configured to either 'center' or 'right' (requires restart of GNOME Shell). The position of this GNOME Shell extension in the panel can be configured to either 'center' or 'right' (requires restart of GNOME Shell).

@ -36,12 +36,12 @@
<key name="show-text-in-panel" type="b"> <key name="show-text-in-panel" type="b">
<default>true</default> <default>true</default>
<_summary>Whether to show the text in the panel.</_summary> <_summary>Whether to show the text in the panel.</_summary>
<_description>Whether to show the weather condition text together with the temperature in the panel (requires restart).</_description> <_description>Whether to show the weather condition text (aka. comment) together with the temperature in the panel (requires restart). If only weather condition text is undesired, consider show-comment-in-panel option.</_description>
</key> </key>
<key name="show-comment-in-panel" type="b"> <key name="show-comment-in-panel" type="b">
<default>false</default> <default>false</default>
<_summary>Whether to show the comment text in the panel (the temperature is still shown).</_summary> <_summary>Whether to show the comment in the panel.</_summary>
<_description>Whether to show the weather comment text(i.e. Windy, Clear) in the panel (requires restart).</_description> <_description>Whether to show the comment (aka. weather condition text, e.g. "Windy", "Clear") in the panel. Note that the temperature is still shown (if undesired, consider show-text-in-panel option).</_description>
</key> </key>
<key name="position-in-panel" enum="org.gnome.shell.extensions.weather.position"> <key name="position-in-panel" enum="org.gnome.shell.extensions.weather.position">
<default>'center'</default> <default>'center'</default>

Loading…
Cancel
Save