Mercurial > pidgin
changeset 20796:f4001b1bf14a
Emit the 'conversation-displayed' signal when a conversation is created, in addition to when it's reattached.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 06 Oct 2007 20:05:45 +0000 |
parents | 93674777d32f |
children | a08d14d993c5 |
files | pidgin/gtkconv.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkconv.c Sat Oct 06 04:22:16 2007 +0000 +++ b/pidgin/gtkconv.c Sat Oct 06 20:05:45 2007 +0000 @@ -5128,6 +5128,9 @@ pidgin_conv_new(PurpleConversation *conv) { private_gtkconv_new(conv, FALSE); + if (PIDGIN_IS_PIDGIN_CONVERSATION(conv)) + purple_signal_emit(pidgin_conversations_get_handle(), + "conversation-displayed", PIDGIN_CONVERSATION(conv)); } static void