[Adium-devl] adiumPurpleRequestFields

Andreas Monitzer soc at monitzer.com
Thu Jun 7 00:29:46 UTC 2007


Hi,

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:
http://monitzer.com/adium/muc1.png

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.

andy





More information about the devel mailing list