summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOlliver Schinagl <o.schinagl@ultimaker.com>2015-06-21 14:44:46 (GMT)
committerOlliver Schinagl <o.schinagl@ultimaker.com>2015-06-21 14:44:46 (GMT)
commitcdc2d181e2f2877eacb7dbd4fb4951d3a25b2b88 (patch)
tree33a24db4b24cc12c11b04ab42cb9b8b85a9d4d34 /src
parent2abfcd689185a20adbf4b4a1fb222864c3112929 (diff)
downloadeulogium-cdc2d181e2f2877eacb7dbd4fb4951d3a25b2b88.zip
eulogium-cdc2d181e2f2877eacb7dbd4fb4951d3a25b2b88.tar.gz
eulogium-cdc2d181e2f2877eacb7dbd4fb4951d3a25b2b88.tar.bz2
fix missing initial checkbox calls on startup
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
Diffstat (limited to 'src')
-rw-r--r--src/eulogium.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eulogium.c b/src/eulogium.c
index 30a68d2..8e3b951 100644
--- a/src/eulogium.c
+++ b/src/eulogium.c
@@ -3377,11 +3377,12 @@ static uint_fast16_t _dbus_members_map(Eldbus_Proxy *proxy, struct menu_entry_de
{
uint_fast16_t i;
- for (i = 0; entry[i].label; i++)
+ for (i = 0; entry[i].label; i++) {
if (entry[i].dbus.signal && entry[i].dbus.sig_cb)
eldbus_proxy_signal_handler_add(proxy, entry[i].dbus.signal, entry[i].dbus.sig_cb, &entry[i].item);
if (entry[i].dbus.get && entry[i].dbus.get_cb)
eldbus_proxy_call(proxy, entry[i].dbus.get, entry[i].dbus.get_cb, &entry[i].item, -1, "");
+ }
return i;
}