Mercurial > pidgin
view plugins/perl/common/Conversation_IM.xs @ 11016:6417b2f5de4e
[gaim-migrate @ 12885]
Wherever possible, allow users to act on objects and data directly, rather
than through dialogs or explicit commands. For example, it is more intuitive
to drag a circle object around in a diagram rather than selecting a "Move"
command from a menu while the circle is selected. Simlarly, in an email
application, allow the user to attach files by dragging them from the file
manager and dropping them onto the message composition window if they wish.
-- GNOME HIG
This allows direct manipulation of buddy aliases and group names, by moving
the features from dialogs to GtkTreeView's inline editing.
I think this is a great change, but it seems like the type of thing that
might stir up controversy. If so, take it to the mailing list for discussion.
If not, I'll go ahead and perfect this sometime later.
-s.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Tue, 21 Jun 2005 04:40:34 +0000 |
parents | b14a7bc189b8 |
children |
line wrap: on
line source
#include "module.h" MODULE = Gaim::Conversation::IM PACKAGE = Gaim::Conversation::IM PREFIX = gaim_conv_im_ PROTOTYPES: ENABLE Gaim::Conversation::IM new(account, name) Gaim::Account account const char *name CODE: RETVAL = GAIM_CONV_IM(gaim_conversation_new(GAIM_CONV_IM, account, name)); OUTPUT: RETVAL void DESTROY(im) Gaim::Conversation::IM im CODE: gaim_conversation_destroy(gaim_conv_im_get_conversation(im)); Gaim::Conversation gaim_conv_im_get_conversation(im) Gaim::Conversation::IM im void gaim_conv_im_write(im, who, message, flags) Gaim::Conversation::IM im const char *who const char *message int flags CODE: gaim_conv_im_write(im, who, message, flags, time(NULL)); void gaim_conv_im_send(im, message) Gaim::Conversation::IM im const char *message MODULE = Gaim::Conversation::IM PACKAGE = Gaim PREFIX = gaim_ PROTOTYPES: ENABLE void ims() PREINIT: GList *l; PPCODE: for (l = gaim_get_ims(); l != NULL; l = l->next) { XPUSHs(sv_2mortal(gaim_perl_bless_object(GAIM_CONV_IM(l->data), "Gaim::Conversation"))); }