comparison src/buddy.c @ 1376:730a1a19b4cc

[gaim-migrate @ 1386] yay, no more negative online times. also no more correction_time. i hope this doesn't break things. it shoudln't, right? oh well. um. since there's no more correction_time there's no more reason to force ourselves as a buddy (right?), so that also fixes the problem of yahoo forcing you to have yourself as a buddy. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 04 Jan 2001 22:58:08 +0000
parents ce379d65a5e3
children d606da211acb
comparison
equal deleted inserted replaced
1375:b167222b5c93 1376:730a1a19b4cc
1778 gtk_label_set(GTK_LABEL(bs->idle), ""); 1778 gtk_label_set(GTK_LABEL(bs->idle), "");
1779 if (display_options & OPT_DISP_SHOW_IDLETIME) 1779 if (display_options & OPT_DISP_SHOW_IDLETIME)
1780 gtk_widget_show(bs->idle); 1780 gtk_widget_show(bs->idle);
1781 1781
1782 /* now we do the tooltip */ 1782 /* now we do the tooltip */
1783 sotime = sec_to_text(t - b->signon + 1783 sotime = sec_to_text(t - b->signon);
1784 ((struct gaim_connection *)bs->connlist->data)->correction_time);
1785 1784
1786 if (b->idle) 1785 if (b->idle)
1787 itime = sec_to_text(t - b->idle); 1786 itime = sec_to_text(t - b->idle);
1788 else { 1787 else {
1789 itime = g_malloc(1); itime[0] = 0; 1788 itime = g_malloc(1); itime[0] = 0;