timber at lava.net
Thu Jun 7 00:30:39 UTC 2007
On Jun 6, 2007, at 5:27 PM, Andreas Monitzer wrote:
> I discovered right now that some vital menu options are missing from
> the XMPP service menu of Adium. The reason for this is that
> adiumPurpleRequestFields (in adiumPurpleRequest.m) is not implemented.
> The basic idea behind it is that libpurple requests a form, asking
> for more information to complete an action (like changing the
> password or searching for users).
> I implemented a very similar thing (actually, it's used for the x-
> data-extension in libpurple, too) last year for my Smack-based plugin:
> I need this functionality for various features of the plugin. Last
> year I used a webview for this. It seemed to be kinda awkward at
> first, but it actually worked pretty well, esp. when compared to the
> complexity of implementing this in Cocoa (there's no way to do this
> in a nib).
> Maybe I should just port that webview to accept libpurple input and
> use that one? It'd also benefit the other libpurple protocols, since
> it seems that they also lack the features that require more than
> simple text field input.
That would definitely be awesome. There's no real additional hit for
using webkit in this case, we've already got it loaded into memory.
Make sure to use the standard HIG fonts and backgrounds. IIRC you had
it looking pretty snazzy last year.
More information about the Adium-devl