Mercurial > pidgin
diff src/buddy.c @ 2613:6f7e1fc3e132
[gaim-migrate @ 2626]
just some style changes
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Thu, 25 Oct 2001 20:24:00 +0000 |
| parents | 98928712e319 |
| children | 4d5c2c913750 |
line wrap: on
line diff
--- a/src/buddy.c Thu Oct 25 20:09:36 2001 +0000 +++ b/src/buddy.c Thu Oct 25 20:24:00 2001 +0000 @@ -1953,16 +1953,14 @@ if (blist_options & OPT_BLIST_SHOW_IDLETIME) gtk_widget_show(bs->idle); - style = gtk_style_new(); - gdk_font_unref(style->font); - style->font = gdk_font_ref(GTK_WIDGET(bs->label)->style->font); + style = gtk_style_copy(bs->idle->style); if ((blist_options & OPT_BLIST_GREY_IDLERS) && (b->idle)) { style->fg[GTK_STATE_NORMAL].red = - (style->fg[GTK_STATE_NORMAL].red / 2) + (style->bg[GTK_STATE_NORMAL].red / 2); + (style->fg[GTK_STATE_NORMAL].red / 2) + (style->base[GTK_STATE_NORMAL].red / 2); style->fg[GTK_STATE_NORMAL].green = - (style->fg[GTK_STATE_NORMAL].green / 2) + (style->bg[GTK_STATE_NORMAL].green / 2); + (style->fg[GTK_STATE_NORMAL].green / 2) + (style->base[GTK_STATE_NORMAL].green / 2); style->fg[GTK_STATE_NORMAL].blue = - (style->fg[GTK_STATE_NORMAL].blue / 2) + (style->bg[GTK_STATE_NORMAL].blue / 2); + (style->fg[GTK_STATE_NORMAL].blue / 2) + (style->base[GTK_STATE_NORMAL].blue / 2); } gtk_widget_set_style(bs->label, style); gtk_style_unref(style);
