From: Sean Egan <seanegan@us...> - 2003-03-31 07:20:22
Update of /cvsroot/gaim/gaim/src/protocols/napster
In directory sc8-pr-cvs1:/tmp/cvs-serv12789/src/protocols/napster
Buddy list editing.
Does this work? I don't know; I don't test things. It compiles though.
It probably does work though, because I'm perfect.
So, see, I did really terribly in school last semester (really terribly--
like, why didn't they kick me out terribly) and so I'm working really hard
to do well this semester (and I am so far :)). Anyway, that's why you may
have noticed I'm a bit slow with the development of late. In fact, I would
test and fix this stuff up, but I really need to work on an English paper,
so I figured it'd be best just to commit it as is and let Rob, Nathan, Chip
and the boys work out the kinks. Besides, I've had most of this code written
for weeks already.
Thank you all for your patience.
Oh, so there's now an Edit menu on your buddy list (which makes the minimum
buddy list width wider :-D) and here you'll find things with which to edit
your list and privacy, prefs and accounts. It should all be real intuitive.
Feel free to IM me if you want to talk about my paper.
RCS file: /cvsroot/gaim/gaim/src/protocols/napster/napster.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- napster.c 16 Mar 2003 00:01:44 -0000 1.38
+++ napster.c 31 Mar 2003 07:19:44 -0000 1.39
@@ -557,6 +557,12 @@
+static void nap_list_emblems(struct buddy *b, char **se, char **sw, char **nw, char **ne)
+ if (b->present == 0)
+ *se = "offline";
static struct prpl *my_protocol = NULL;
G_MODULE_EXPORT void napster_init(struct prpl *ret)
@@ -579,6 +585,7 @@
ret->protocol = PROTO_NAPSTER;
ret->name = g_strdup("Napster");
ret->list_icon = nap_list_icon;
+ ret->list_emblems = nap_list_emblems;
ret->login = nap_login;
ret->close = nap_close;
ret->send_im = nap_send_im;