# HG changeset patch # User Marcus Lundblad # Date 1233517393 0 # Node ID c5d2559d6e0d3b8a1a40f07f62846f65e1733b8b # Parent 03541b3adb387ca4430374a169a595bcbc52cee6 In the state notify plugin, don't print out a status change if we get an update on idle time. diff -r 03541b3adb38 -r c5d2559d6e0d libpurple/plugins/statenotify.c --- a/libpurple/plugins/statenotify.c Sun Feb 01 18:04:38 2009 +0000 +++ b/libpurple/plugins/statenotify.c Sun Feb 01 19:43:13 2009 +0000 @@ -71,9 +71,9 @@ void *data) { if (purple_prefs_get_bool("/plugins/core/statenotify/notify_idle")) { - if (idle) { + if (idle && !old_idle) { write_status(buddy, _("%s has become idle.")); - } else { + } else if (!idle && old_idle) { write_status(buddy, _("%s is no longer idle.")); } }