1

I am creating a script in Python to integrate Pidgin with Unity (Ubuntu 12.04), I've managed to do the counting notifications system using the Unity API, but i dont know what event or signal that is activated when the conversation window gains focus(To clear the message counter)... I've tried some of the signals available on the documentation of Pidgin (https://developer.pidgin.im/wiki/DbusHowto) but none of them worked, is there any GTK(or anything) event that is triggered when the window chat gets focus?

Mr Alles
  • 11
  • 3
  • All of Pidgin's DBus signals can be found [here](https://developer.pidgin.im/doxygen/dev2.x.y/html/conversation-signals.html#receiving-chat-msg). It doesn't look like there's a signal for that event. – Blender Sep 24 '12 at 19:13
  • I've tried to use some of them but they end up overwriting the signal "received-im-msg" used to update the counter... So when I add, they end up wiping the counter instantly – Mr Alles Sep 24 '12 at 20:51

1 Answers1

0

Conversation UI signals are listed here those might be more helpful for what you are trying to do.

Though I don't know that I understand what you meant by your comment about the counter being wiped instantly when you tried some of the other signals. That sounds like it might be a coding error to me.

Etan Reisner
  • 77,877
  • 8
  • 106
  • 148