diff pui-application.c @ 4:3d72ca76538d

Add setting to control whether to use a mobile connection
author Guido Berhoerster <guido+pui@berhoerster.name>
date Sun, 17 Jun 2018 11:05:28 +0200
parents 2fa34d6272c6
children 2477a6151087
line wrap: on
line diff
--- a/pui-application.c	Wed Jun 13 23:25:09 2018 +0200
+++ b/pui-application.c	Sun Jun 17 11:05:28 2018 +0200
@@ -408,6 +408,8 @@
 
 	g_settings_bind(self->settings, "refresh-interval", self->backend,
 	    "refresh-interval", G_SETTINGS_BIND_GET);
+	g_settings_bind(self->settings, "use-mobile-connection", self->backend,
+	    "use-mobile-connection", G_SETTINGS_BIND_GET);
 
 	transition_state(self);