pidgin development support - what method is called initially when account disconnect tick box is unticked

View: New views
3 Messages — Rating Filter:   Alert me  

pidgin development support - what method is called initially when account disconnect tick box is unticked

by nuwan gunarahtna :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Hi,
I am trying to implement a plugin for pidgin.
So here I am asking help with pidgin source code.
As I am not familiar with C language I could not find what I wanted even I had a try.

Could somebody please tell me what method is called when untick  enabled tick box in pidgin.
you may find the tick box at along the menus Account-> Manage Account.
i.e the tick box is that we use to connect and disconnect accounts.
I know that when we tick/untick it the call comes to <protocol>_close method in protocol implementation class.
what i need is what is method initially called when untick befor it comes to this close method.

thanks.

_______________________________________________
Devel mailing list
Devel@...
http://pidgin.im/cgi-bin/mailman/listinfo/devel

Re: pidgin development support - what method is called initially when account disconnect tick box is unticked

by Will Thompson-2 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

evanescent wrote:
> Could somebody please tell me what method is called when untick  enabled
> tick box in pidgin.

Well, it's a tickybox that sets whether an account is enabled, so
perhaps there's a method in libpurple/account.h you could call on a
PurpleAccount to set it to enabled or disabled.

--
Will



_______________________________________________
Devel mailing list
Devel@...
http://pidgin.im/cgi-bin/mailman/listinfo/devel

signature.asc (269 bytes) Download Attachment

Re: pidgin development support - what method is called initially when account disconnect tick box is unticked

by nuwan gunarahtna :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

yes. I am going though with it. but im yet to find it.
Actually what i want is to perform the same functionality from inside the programe.
that mean at some logic in the plugin i need to disconnect the account in the program. i.e not by un-ticking the tick box.

thanks .

On Thu, Oct 1, 2009 at 3:23 PM, Will Thompson <will@...> wrote:
evanescent wrote:
> Could somebody please tell me what method is called when untick  enabled
> tick box in pidgin.

Well, it's a tickybox that sets whether an account is enabled, so
perhaps there's a method in libpurple/account.h you could call on a
PurpleAccount to set it to enabled or disabled.

--
Will



_______________________________________________
Devel mailing list
Devel@...
http://pidgin.im/cgi-bin/mailman/listinfo/devel