Mercurial > pidgin.yaz
changeset 3137:b7fce1bf6b87
[gaim-migrate @ 3152]
if i were to close my eyes
and drift away to sleep
never to awaken; my heart is growing weak
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Fri, 12 Apr 2002 02:22:28 +0000 |
parents | 1bd472b7f7a2 |
children | e970fccae757 |
files | src/buddy.c |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buddy.c Fri Apr 12 02:15:24 2002 +0000 +++ b/src/buddy.c Fri Apr 12 02:22:28 2002 +0000 @@ -1841,7 +1841,6 @@ gtk_container_add(GTK_CONTAINER(g->item), g->label); - style = gtk_style_new(); style = gtk_style_copy(gtk_widget_get_style(GTK_WIDGET(g->label))); // style->font = gdk_font_load("-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"); @@ -1851,6 +1850,7 @@ style->fg[0].blue = 20* 255; gtk_widget_set_style(GTK_WIDGET(g->label), style); + gtk_style_unref(style); shows = g_slist_insert(shows, g, pos); @@ -1876,13 +1876,15 @@ gdk_bitmap_unref(bm); // style = gtk_widget_get_style(GTK_TREE_ITEM(g->item)->pixmaps_box); - style2 = gtk_style_new(); style2 = gtk_style_copy(gtk_widget_get_style(g->item)); - style = gtk_style_new(); style = gtk_style_copy(gtk_widget_get_style(GTK_WIDGET(g->label))); + style->bg[0] = style2->base[0]; gtk_widget_set_style(GTK_TREE_ITEM(g->item)->pixmaps_box, style); + gtk_style_unref(style); + gtk_style_unref(style2); + /* bad drugs */ update_num_group(g);