Disconnection reasons that the UI can understand

Sean Egan seanegan at gmail.com
Wed Sep 12 15:46:34 EDT 2007

On 9/12/07, Will Thompson <will at willthompson.co.uk> wrote:
> From my point of view, combining PurpleConnectionUiOps.disconnected and
> PurpleConnectionUiOps.report_disconnect into a single function with a
> reason seems reasonable.  Create a PurpleDisconnectReason enum, similar
> to the Telepathy one (although an Unknown reason would be handy, and I
> need to take a look at the new certificate stuff for reporting SSL
> errors).  Then this hypothetical UiOp, called something like
> report_disconnect_reason until 3.0, would have three arguments: the
> PurpleConnection, the PurpleDisconnectReason, and the localized string
> that report_disconnect currently gets, giving more details.

Related is ticket #168

More information about the Devel mailing list