Commit 84fa00cf authored by Magnus Boman's avatar Magnus Boman Committed by Federico Mena Quintero

bnc372206 - Add notification for NM state even if there's no active interface.

2008-05-09  Magnus Boman  <captain.magnus@gmail.com>

        https://bugzilla.novell.com/show_bug.cgi?id=372206
        Add notification for NM state even if there's no active interface.

        * main-menu/src/network-status-agent.c (nm_get_first_active_device_info):
	Add state change notification callbacks for interfaces until we
	find an active device.
Signed-off-by: 's avatarFederico Mena Quintero <federico@gnu.org>

svn path=/trunk/; revision=460
parent 42a40b86
2008-05-09 Magnus Boman <captain.magnus@gmail.com>
https://bugzilla.novell.com/show_bug.cgi?id=372206
Add notification for NM state even if there's no active interface.
* main-menu/src/network-status-agent.c (nm_get_first_active_device_info):
Add state change notification callbacks for interfaces until we
find an active device.
2008-05-13 Scott Reeves <sreeves@novell.com>
* main-menu/src/main-menu-ui.c
* libslab/bookmark-agent.c
......
......@@ -168,11 +168,9 @@ nm_get_first_active_device_info (NetworkStatusAgent * agent)
if (info)
{
g_signal_connect (nm_device, "notify::state", G_CALLBACK (nm_state_change_cb), agent);
if (info->active)
{
g_signal_connect (nm_device, "notify::state", G_CALLBACK (nm_state_change_cb), agent);
break;
}
g_object_unref (info);
......
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