Commit 72806fa7 authored by Robert Love's avatar Robert Love Committed by Robert Love
Browse files

2005-06-30 Robert Love <rml@novell.com>

	* src/nm-dbus-nm.c: print when we sleep and wake up.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@765 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
parent 91426dae
2005-06-30 Robert Love <rml@novell.com>
* src/NetworkManagerDevice.c: g_malloc0 cannot fail.
* src/nm-dbus-nm.c: print when we sleep and wake up.
2005-06-27 Robert Love <rml@novell.com>
......
......@@ -401,6 +401,8 @@ static DBusMessage *nm_dbus_nm_sleep (DBusConnection *connection, DBusMessage *m
app_data = data->data;
if (app_data->asleep == FALSE)
{
nm_info ("Going to sleep.");
app_data->asleep = TRUE;
/* Physically down all devices */
......@@ -431,6 +433,7 @@ static DBusMessage *nm_dbus_nm_wake (DBusConnection *connection, DBusMessage *me
app_data = data->data;
if (app_data->asleep == TRUE)
{
nm_info ("Waking up from sleep.");
app_data->asleep = FALSE;
nm_schedule_state_change_signal_broadcast (app_data);
......
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