Commit 7fd37f8d authored by David Boddie's avatar David Boddie
Browse files

Fix documentation for the network state example

parent 4efe4994
......@@ -57,7 +57,7 @@ method, the application can respond when the user clicks the button. The
.. literalinclude:: app/src/main.py
:language: python3
:start-at: do_activate
:start-at: def update_label
:end-at: set_text('Other')
In this method we create an instance of the ``Gio.NetworkMonitor`` class and
......
......@@ -4,8 +4,8 @@ Network State
=============
This example shows how to check the network state. When run, the application
simply shows a window containing a button and a label. When the button is
clicked, the network state is shown in the label.
simply shows a window containing a button and some labels. When the button is
clicked, aspects of the network state are shown in the labels.
.. image:: images/screenshot.png
:scale: 50%
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment