comparison src/server.c @ 2906:538c58b43eff

[gaim-migrate @ 2919] save save me from this wandered around the town all the thousand things i might miss and you think we'll suffer much think we'll close our eyes just to see the light pass us by with tomorrow coming hope that i don't let you down again said i'm so glad to be here does it mean a thing if only i could breathe what you breathe if only i could see what you see sit we'll take our time watching the flowers grow all the friends we've known say goodbye and you did you suffer much did you close your eyes just to see the night rush on by gathered all around you hope that we don't let you down again i said i'm so glad to be here does it mean a thing if only i could breathe what you breathe if only i could see what you see i said i'm so glad to be here does it mean a thing if only i could breathe what you breathe if only i could see what you see if only i could just believe a thing --Moist, "Breathe" (as transcribed by http://www.veddma.com/veddma/moist.htm) Patches from: Ari Pollak Ben Miller Mark Doliner Sean Egan Vincas Ciziunas Thanks everyone. Somewhere in the middle of all of this it started to get really tedious and annoying. I think it's getting close to the point where I quit. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 21 Dec 2001 10:23:04 +0000
parents b1e300a85678
children 4ed6fb39870b
comparison
equal deleted inserted replaced
2905:a090e98dbbb6 2906:538c58b43eff
582 write_to_conv(cnv, message, away | WFLAG_RECV, NULL, mtime, len); 582 write_to_conv(cnv, message, away | WFLAG_RECV, NULL, mtime, len);
583 } 583 }
584 584
585 /* regardless of whether we queue it or not, we should send an auto-response. That is, 585 /* regardless of whether we queue it or not, we should send an auto-response. That is,
586 * of course, unless the horse.... no wait. */ 586 * of course, unless the horse.... no wait. */
587 if ((away_options & OPT_AWAY_NO_AUTO_RESP) || !strlen(gc->away)) { 587 if ((away_options & OPT_AWAY_NO_AUTO_RESP) || !strlen(gc->away) ||
588 ((away_options & OPT_AWAY_IDLE_RESP) && !gc->is_idle)) {
588 g_free(name); 589 g_free(name);
589 g_free(message); 590 g_free(message);
590 return; 591 return;
591 } 592 }
592 593
600 qar = (struct queued_away_response *)g_new0(struct queued_away_response, 1); 601 qar = (struct queued_away_response *)g_new0(struct queued_away_response, 1);
601 g_snprintf(qar->name, sizeof(qar->name), "%s", name); 602 g_snprintf(qar->name, sizeof(qar->name), "%s", name);
602 qar->sent_away = 0; 603 qar->sent_away = 0;
603 away_time_queue = g_slist_append(away_time_queue, qar); 604 away_time_queue = g_slist_append(away_time_queue, qar);
604 } 605 }
605 if ((t - qar->sent_away) < 120) { 606 if ((t - qar->sent_away) < away_resend) {
606 g_free(name); 607 g_free(name);
607 g_free(message); 608 g_free(message);
608 return; 609 return;
609 } 610 }
610 qar->sent_away = t; 611 qar->sent_away = t;
976 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); 977 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
977 gtk_box_pack_start(GTK_BOX(vbox), sw, TRUE, TRUE, 5); 978 gtk_box_pack_start(GTK_BOX(vbox), sw, TRUE, TRUE, 5);
978 979
979 text = gtk_imhtml_new(NULL, NULL); 980 text = gtk_imhtml_new(NULL, NULL);
980 gtk_container_add(GTK_CONTAINER(sw), text); 981 gtk_container_add(GTK_CONTAINER(sw), text);
982 GTK_LAYOUT(text)->hadjustment->step_increment = 10.0;
983 GTK_LAYOUT(text)->vadjustment->step_increment = 10.0;
981 gaim_setup_imhtml(text); 984 gaim_setup_imhtml(text);
982 985
983 hbox = gtk_hbox_new(FALSE, 5); 986 hbox = gtk_hbox_new(FALSE, 5);
984 gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); 987 gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 5);
985 988