comparison src/buddy.c @ 3374:3cd2fbddf95a

[gaim-migrate @ 3393] I had terrible days today and yesterday--a really terrible weekend. No cool stuff from me--the prefs away message page works a bit better. Ari and Chip both sent some patches to make things work a bit better in GTK 2, and Etan rewrote the notify plugin so it's really cool now! Thanks, guys! committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 05 Aug 2002 07:33:09 +0000
parents 3b00d97d59aa
children 412d1035d666
comparison
equal deleted inserted replaced
3373:0e79bf1d79ea 3374:3cd2fbddf95a
2231 gtk_label_set(GTK_LABEL(bs->idle), ""); 2231 gtk_label_set(GTK_LABEL(bs->idle), "");
2232 if (blist_options & OPT_BLIST_SHOW_IDLETIME) 2232 if (blist_options & OPT_BLIST_SHOW_IDLETIME)
2233 gtk_widget_show(bs->idle); 2233 gtk_widget_show(bs->idle);
2234 2234
2235 style = gtk_style_new(); 2235 style = gtk_style_new();
2236 #if !GTK_CHECK_VERSION(1,3,0)
2236 gdk_font_unref(gtk_style_get_font(style)); 2237 gdk_font_unref(gtk_style_get_font(style));
2238 #endif
2237 gtk_style_set_font(style, gdk_font_ref(gtk_style_get_font(bs->label->style))); 2239 gtk_style_set_font(style, gdk_font_ref(gtk_style_get_font(bs->label->style)));
2238 for (i = 0; i < 5; i++) 2240 for (i = 0; i < 5; i++)
2239 style->fg[i] = bs->idle->style->fg[i]; 2241 style->fg[i] = bs->idle->style->fg[i];
2240 if ((blist_options & OPT_BLIST_GREY_IDLERS) && (b->idle)) { 2242 if ((blist_options & OPT_BLIST_GREY_IDLERS) && (b->idle)) {
2241 style->fg[GTK_STATE_NORMAL].red = 2243 style->fg[GTK_STATE_NORMAL].red =