Mercurial > pidgin
view plugins/perl/common/BuddyList.xs @ 10873:c522fdb85dbc
[gaim-migrate @ 12561]
sf patch #1189893, from Steven Garrity
"This patch slightly changes the shade of the blue color
of inactive tabs on a group chat when someone uses your
nickname.
The previous blue was a bit too close to the default
black, so it was difficult to notice. This blue is a
little bit brighter and more staturated.
Here's a screenshot to show the difference (current
blue in the left column, blue from this patch in the
right column):
http://actsofvolition.com/images/screenshots/gaim/tab-colors.png
The only thing changes is the HEX for the color, so
this could easily be applied to oldstatus as well."
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 26 Apr 2005 02:02:43 +0000 |
parents | cbd13a12d9be |
children | 134d0001983d |
line wrap: on
line source
#include "module.h" MODULE = Gaim::BuddyList PACKAGE = Gaim::BuddyList PREFIX = gaim_blist_ PROTOTYPES: ENABLE void gaim_blist_set_visible(show) gboolean show void add_buddy(account, buddy, group) Gaim::Account account Gaim::BuddyList::Buddy buddy Gaim::BuddyList::Group group CODE: gaim_blist_add_buddy(buddy, NULL, group, NULL); serv_add_buddy(gaim_account_get_connection(account), buddy); void add_group(group) Gaim::BuddyList::Group group CODE: gaim_blist_add_group(group, NULL); void add_chat(chat, group) Gaim::BuddyList::Chat chat Gaim::BuddyList::Group group CODE: gaim_blist_add_chat(chat, group, NULL); void gaim_blist_remove_buddy(buddy) Gaim::BuddyList::Buddy buddy void gaim_blist_remove_group(group) Gaim::BuddyList::Group group void gaim_blist_remove_chat(chat) Gaim::BuddyList::Chat chat Gaim::BuddyList::Buddy find_buddy(account, name) Gaim::Account account const char *name CODE: RETVAL = gaim_find_buddy(account, name); OUTPUT: RETVAL void find_buddies(account, name) Gaim::Account account const char *name PREINIT: GSList *l; PPCODE: for (l = gaim_find_buddies(account, name); l != NULL; l = l->next) { XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::BuddyList::Buddy"))); } g_slist_free(l); Gaim::BuddyList::Group find_group(name) const char *name CODE: RETVAL = gaim_find_group(name); OUTPUT: RETVAL Gaim::BuddyList::Chat gaim_blist_find_chat(account, name) Gaim::Account account const char *name void groups() PREINIT: GaimBlistNode *node; PPCODE: if (gaim_get_blist() != NULL) { for (node = gaim_get_blist()->root; node != NULL; node = node->next) { XPUSHs(sv_2mortal(gaim_perl_bless_object(node, "Gaim::BuddyList::Group"))); } } void * handle() CODE: RETVAL = gaim_blist_get_handle(); OUTPUT: RETVAL