Direct IM requests and the Request API
Sadrul Habib Chowdhury
imadil at gmail.com
Sun Apr 15 12:04:06 EDT 2007
* Evan Schoenberg had this to say on [15 Apr 2007, 11:03:43 -0400]:
> Quoting Sadrul Habib Chowdhury <imadil at gmail.com>:
>
> >* Evan Schoenberg had this to say on [14 Apr 2007, 11:59:48 -0400]:
> ><snip>
> >>1) Such requests should be shown inline in the chat window if at all
> >>possible. To that end, using something non-generic which instead
> >>passed in the PurpleConversation (or PurpleBuddy and PurpleAccount)
> >>associated with the request would allow the UI to do that. I don't
> >>know if Pidgin or Finch can show a message with clickable buttons in
> >>the message window... if they can't, they could still pop up a new
> >>window.
> >
> >I like the idea of showing requests in conversation windows when/if
> >possible. I created a mockup for finch to see how it would look, and
> >here's the result: http://pidgin.im/~sadrul/ss/conv-req.png. I think
> >I like it.
>
> *nod* It's possible with file transfers at present, since you get a
> buddy and account when you get a PurpleXfer... we've done something
> just like you mocked up in Adium, and the results are great (and
> response has been positive). I'm thinking about just adding
> buddy/account to the request API's callbacks, letting them be optional
> if there's no associated buddy or account. I'll take a look at that
> this afternoon. :)
>From the request-ui, how do you determine that it's a request for a
filetransfer? Do you look to see whether the handle is a PurpleXfer?
Sadrul
More information about the Devel
mailing list