mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-24 04:30:41 +02:00
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
This commit is contained in:
parent
91426daecc
commit
72806fa701
2 changed files with 4 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue