2005-10-27 Christopher Aillon <caillon@redhat.com>

* src/nm-vpn-service.c: Only signal the bus that state
	changed	if old_state != new_state


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1083 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Christopher Aillon
2005-10-28 06:16:31 +00:00
committed by Chris Aillon
parent 044acdad23
commit 0aa2f997e4
2 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2005-10-27 Christopher Aillon <caillon@redhat.com>
* src/nm-vpn-service.c: Only signal the bus that state
changed if old_state != new_state
2005-10-17 Christopher Aillon <caillon@redhat.com>
* configure.in: Bump version to 0.5.0

View File

@@ -179,8 +179,12 @@ static void nm_vpnc_set_state (NmVpncData *data, NMVPNState new_state)
g_return_if_fail (data != NULL);
old_state = data->state;
data->state = new_state;
nm_vpnc_dbus_signal_state_change (data, old_state);
if (old_state != new_state)
{
data->state = new_state;
nm_vpnc_dbus_signal_state_change (data, old_state);
}
}