Mercurial > pidgin
diff libpurple/plugins/statenotify.c @ 25958:13541e130064
propagate from branch 'im.pidgin.pidgin' (head 431618de0f30a6938f7e14d2d61ee5d7738acd59)
to branch 'im.pidgin.cpw.malu.xmpp.idle' (head f8e9aac4fdd81fdf8e998b2ea726f2b97c06fc84)
| author | Marcus Lundblad <ml@update.uu.se> |
|---|---|
| date | Mon, 02 Mar 2009 21:25:31 +0000 |
| parents | 716b14deee97 c5d2559d6e0d |
| children | 1f68af4afe67 3828a61c44da |
line wrap: on
line diff
--- a/libpurple/plugins/statenotify.c Mon Mar 02 16:34:05 2009 +0000 +++ b/libpurple/plugins/statenotify.c Mon Mar 02 21:25:31 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.")); } }
