Commit b2e4ab4e authored by Emmanuel Lepage's avatar Emmanuel Lepage

Add historyChanged signal, better than managing it client side

parent a3fcb3ca
......@@ -446,6 +446,9 @@
<signal name="accountsChanged" tp:name-for-bindings="accountsChanged">
</signal>
<signal name="historyChanged" tp:name-for-bindings="historyChanged">
</signal>
<signal name="registrationStateChanged" tp:name-for-bindings="registrationStateChanged">
<arg type="s" name="accountID"/>
<arg type="i" name="registration_state"/>
......
......@@ -2872,6 +2872,8 @@ void ManagerImpl::saveHistory()
{
if (!history_.save())
ERROR("Could not save history!");
else
dbus_.getConfigurationManager()->historyChanged();
}
void ManagerImpl::clearHistory()
......
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