Mercurial > pidgin.yaz
diff src/buddy.c @ 4978:307c16c4b57e
[gaim-migrate @ 5313]
(08:55:48) Robot101: patch to:
(08:56:07) Robot101: * make online buddies appear black, not grey, when you have 'show offline buddies' turned on
(08:56:21) Robot101: * random cleanup in buddy.c (tooltip/timer freeing)
(08:56:43) Robot101: * stop the add buddy dialog resetting your choice of group when you choose an account
(08:57:03) Robot101: * fix little memleak when loading the default window icon
(08:57:16) Robot101: * make the main window use the default instead of loading the same icon itself
(08:57:42) Robot101: * make the manual browser pref validate and save when the entry widget loses focus, not with a crappy button
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 03 Apr 2003 14:05:43 +0000 |
parents | 0581a59c9492 |
children | 06baf1e9094c |
line wrap: on
line diff
--- a/src/buddy.c Thu Apr 03 14:04:02 2003 +0000 +++ b/src/buddy.c Thu Apr 03 14:05:43 2003 +0000 @@ -617,15 +617,15 @@ static void gaim_gtk_blist_leave_cb (GtkWidget *w, GdkEventCrossing *e, gpointer n) { - if (gtkblist->timeout == 0) - return; + if (gtkblist->timeout) { + g_source_remove(gtkblist->timeout); + gtkblist->timeout = 0; + } if (gtkblist->tipwindow) { gtk_widget_destroy(gtkblist->tipwindow); gtkblist->tipwindow = NULL; } - g_source_remove(gtkblist->timeout); - gtkblist->timeout = 0; -} +} /*************************************************** * Crap * @@ -948,7 +948,7 @@ time_t t; if (!(blist_options & OPT_BLIST_SHOW_ICONS)) { - if ((b->idle > 0 && blist_options & OPT_BLIST_GREY_IDLERS && !selected) || blist_options & OPT_BLIST_SHOW_OFFLINE) { + if ((b->idle > 0 && blist_options & OPT_BLIST_GREY_IDLERS && !selected) || b->present == 0) { text = g_strdup_printf("<span color='dim grey'>%s</span>", esc); g_free(esc);