Mercurial > pidgin.yaz
comparison src/protocols/toc/toc.c @ 4916:d9b6b5ae34e4
[gaim-migrate @ 5250]
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.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 31 Mar 2003 07:19:46 +0000 |
parents | 0ed37c803503 |
children | d5c136474f26 |
comparison
equal
deleted
inserted
replaced
4915:0230df73f56a | 4916:d9b6b5ae34e4 |
---|---|
1280 | 1280 |
1281 static const char *toc_list_icon(struct gaim_account *a, struct buddy *b) | 1281 static const char *toc_list_icon(struct gaim_account *a, struct buddy *b) |
1282 { | 1282 { |
1283 return "aim"; | 1283 return "aim"; |
1284 } | 1284 } |
1285 /* | 1285 |
1286 if (uc & UC_UNAVAILABLE) | 1286 static void oscar_list_emblems(struct buddy *b, char **se, char **sw, char **nw, char **ne) |
1287 return (char **)away_icon_xpm; | 1287 { |
1288 if (uc & UC_AOL) | 1288 char *emblems[4] = {NULL,NULL,NULL,NULL}; |
1289 return (char **)aol_icon_xpm; | 1289 int i = 0; |
1290 if (uc & UC_NORMAL) | 1290 |
1291 return (char **)free_icon_xpm; | 1291 if (b->present == 0) { |
1292 if (uc & UC_ADMIN) | 1292 *se = "offline"; |
1293 return (char **)admin_icon_xpm; | 1293 return; |
1294 if (uc & UC_UNCONFIRMED) | 1294 } else { |
1295 return (char **)dt_icon_xpm; | 1295 if (b->uc & UC_UNAVAILABLE) |
1296 if (uc & UC_WIRELESS) | 1296 emblems[i++] = "away"; |
1297 return (char **)wireless_icon_xpm; | 1297 if (b->uc & UC_AOL) |
1298 return NULL; | 1298 emblems[i++] = "aol"; |
1299 }*/ | 1299 if (b->uc & UC_ADMIN) |
1300 emblems[i++] = "admin"; | |
1301 if (b->uc & UC_WIRELESS) | |
1302 emblems[i++] = "wireless"; | |
1303 } | |
1304 *se = emblems[0]; | |
1305 *sw = emblems[1]; | |
1306 *nw = emblems[2]; | |
1307 *ne = emblems[3]; | |
1308 } | |
1300 | 1309 |
1301 static GList *toc_buddy_menu(struct gaim_connection *gc, char *who) | 1310 static GList *toc_buddy_menu(struct gaim_connection *gc, char *who) |
1302 { | 1311 { |
1303 GList *m = NULL; | 1312 GList *m = NULL; |
1304 struct proto_buddy_menu *pbm; | 1313 struct proto_buddy_menu *pbm; |