comparison 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
comparison
equal deleted inserted replaced
3:2fa34d6272c6 4:3d72ca76538d
406 return; 406 return;
407 } 407 }
408 408
409 g_settings_bind(self->settings, "refresh-interval", self->backend, 409 g_settings_bind(self->settings, "refresh-interval", self->backend,
410 "refresh-interval", G_SETTINGS_BIND_GET); 410 "refresh-interval", G_SETTINGS_BIND_GET);
411 g_settings_bind(self->settings, "use-mobile-connection", self->backend,
412 "use-mobile-connection", G_SETTINGS_BIND_GET);
411 413
412 transition_state(self); 414 transition_state(self);
413 415
414 g_signal_connect(self->backend, "restart-required", 416 g_signal_connect(self->backend, "restart-required",
415 G_CALLBACK(on_backend_restart_required), self); 417 G_CALLBACK(on_backend_restart_required), self);