Mercurial > pidgin
comparison src/conversation.c @ 1759:e0f936b4c91a
[gaim-migrate @ 1769]
i'm so tired i can't sleep
sit and drink penny royal tea
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 27 Apr 2001 07:55:01 +0000 |
parents | 3dfe4aefd366 |
children | 1e0613d9526b |
comparison
equal
deleted
inserted
replaced
1758:eb7b48eef4a3 | 1759:e0f936b4c91a |
---|---|
2349 gtk_notebook_set_tab_pos(GTK_NOTEBOOK(chat_notebook), | 2349 gtk_notebook_set_tab_pos(GTK_NOTEBOOK(chat_notebook), |
2350 GTK_POS_TOP); | 2350 GTK_POS_TOP); |
2351 } | 2351 } |
2352 } | 2352 } |
2353 } | 2353 } |
2354 | |
2355 void update_convo_color(gboolean fg) | |
2356 { | |
2357 GList *c = conversations; | |
2358 struct conversation *b; | |
2359 | |
2360 while (c) { | |
2361 b = c->data; | |
2362 c = c->next; | |
2363 if (fg) { | |
2364 if (b->hasfg) continue; | |
2365 b->fgcol = fgcolor; | |
2366 } else { | |
2367 if (b->hasbg) continue; | |
2368 b->bgcol = bgcolor; | |
2369 } | |
2370 } | |
2371 } | |
2372 | |
2373 void update_convo_font() | |
2374 { | |
2375 GList *c = conversations; | |
2376 struct conversation *b; | |
2377 | |
2378 while (c) { | |
2379 b = c->data; | |
2380 c = c->next; | |
2381 if (b->hasfont) continue; | |
2382 sprintf(b->fontface, "%s", fontface); | |
2383 } | |
2384 } |