Mercurial > pidgin
view plugins/perl/common/Connection.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 | 6deef41364bd |
children | 134d0001983d |
line wrap: on
line source
#include "module.h" MODULE = Gaim::Connection PACKAGE = Gaim::Connection PREFIX = gaim_connection_ PROTOTYPES: ENABLE void gaim_connection_set_display_name(gc, name) Gaim::Connection gc const char *name Gaim::Account gaim_connection_get_account(gc) Gaim::Connection gc const char * gaim_connection_get_display_name(gc) Gaim::Connection gc MODULE = Gaim::Connections PACKAGE = Gaim::Connections PREFIX = gaim_connections_ PROTOTYPES: ENABLE void gaim_connections_disconnect_all() void * handle() CODE: RETVAL = gaim_connections_get_handle(); OUTPUT: RETVAL MODULE = Gaim::Connection PACKAGE = Gaim void connections() PREINIT: GList *l; PPCODE: for (l = gaim_connections_get_all(); l != NULL; l = l->next) XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Connection")));