Mercurial > pidgin.yaz
diff pidgin/gtkconv.c @ 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 | 15f61e6b15cd |
children | 6b9e5bbab0fe b84655373d7b 271d154bbb91 |
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