Mercurial > pidgin.yaz
changeset 6489:aefe4067d3a3
[gaim-migrate @ 7003]
some tweaks from Robot101
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Mon, 18 Aug 2003 15:42:55 +0000 |
parents | e5e8d21bd4d8 |
children | f4d4403bda29 |
files | plugins/signals-test.c plugins/statenotify.c |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/signals-test.c Mon Aug 18 10:08:26 2003 +0000 +++ b/plugins/signals-test.c Mon Aug 18 15:42:55 2003 +0000 @@ -435,7 +435,7 @@ /* Conversations subsystem signals */ gaim_signal_connect(conv_handle, "displaying-im-msg", plugin, GAIM_CALLBACK(displaying_im_msg_cb), NULL); - gaim_signal_connect(conv_handle, "displayed-img-msg", + gaim_signal_connect(conv_handle, "displayed-im-msg", plugin, GAIM_CALLBACK(displayed_im_msg_cb), NULL); gaim_signal_connect(conv_handle, "sending-im-msg", plugin, GAIM_CALLBACK(sending_im_msg_cb), NULL);
--- a/plugins/statenotify.c Mon Aug 18 10:08:26 2003 +0000 +++ b/plugins/statenotify.c Mon Aug 18 15:42:55 2003 +0000 @@ -19,7 +19,7 @@ who = gaim_get_buddy_alias(buddy); - g_snprintf(buf, sizeof(buf), "%s %s", who, message); + g_snprintf(buf, sizeof(buf), message, who); gaim_conversation_write(conv, NULL, buf, -1, WFLAG_SYSTEM, time(NULL)); } @@ -27,25 +27,25 @@ static void buddy_away_cb(struct buddy *buddy, void *data) { - write_status(buddy, _("has gone away.")); + write_status(buddy, _("%s has gone away.")); } static void buddy_unaway_cb(struct buddy *buddy, void *data) { - write_status(buddy, _("is no longer away.")); + write_status(buddy, _("%s is no longer away.")); } static void buddy_idle_cb(struct buddy *buddy, void *data) { - write_status(buddy, _("has become idle.")); + write_status(buddy, _("%s has become idle.")); } static void buddy_unidle_cb(struct buddy *buddy, void *data) { - write_status(buddy, _("is no longer idle.")); + write_status(buddy, _("%s is no longer idle.")); } static gboolean