diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2011-06-24 04:18:37 +0800 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2011-06-24 05:00:18 +0800 |
commit | 3af15cdbcd31a7ac4eda748ae83180a228d30a80 (patch) | |
tree | 1454d2f428a9b6ef143efb54447ed4ebd49827a8 /data/ephy-network-manager.xml | |
parent | ab913fa36787366d68e08a0831403872d3e62ffc (diff) | |
download | gsoc2013-epiphany-3af15cdbcd31a7ac4eda748ae83180a228d30a80.tar gsoc2013-epiphany-3af15cdbcd31a7ac4eda748ae83180a228d30a80.tar.gz gsoc2013-epiphany-3af15cdbcd31a7ac4eda748ae83180a228d30a80.tar.bz2 gsoc2013-epiphany-3af15cdbcd31a7ac4eda748ae83180a228d30a80.tar.lz gsoc2013-epiphany-3af15cdbcd31a7ac4eda748ae83180a228d30a80.tar.xz gsoc2013-epiphany-3af15cdbcd31a7ac4eda748ae83180a228d30a80.tar.zst gsoc2013-epiphany-3af15cdbcd31a7ac4eda748ae83180a228d30a80.zip |
Use a gdbus-codegen generated GDBusProxy to monitor NM state
Get rid of the EphyNetMonitor code and instead generate a GDBusProxy
subclass that monitors the StateChanged signal and State property in
org.gnome.NetworkManager. This proxy exports these features as
standard GObject signal and property, respectively, so we can use it
directly through the relevant accessors.
https://bugzilla.gnome.org/show_bug.cgi?id=622903
Diffstat (limited to 'data/ephy-network-manager.xml')
-rw-r--r-- | data/ephy-network-manager.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/data/ephy-network-manager.xml b/data/ephy-network-manager.xml new file mode 100644 index 000000000..90fcd7011 --- /dev/null +++ b/data/ephy-network-manager.xml @@ -0,0 +1,9 @@ +<node> + <interface name='org.freedesktop.NetworkManager'> + <signal name='StateChanged'> + <arg name='state' type='u' /> + </signal> + <property name='State' type='u' access='read'/> + <property name='Version' type='s' access='read'/> + </interface> +</node> |