changeset 2011:8195d67364a4

[gaim-migrate @ 2021] ha committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 13 Jun 2001 23:13:06 +0000
parents dff412b306b8
children 5748a6faa461
files ChangeLog plugins/icq/gaim_icq.c
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Jun 13 23:12:20 2001 +0000
+++ b/ChangeLog	Wed Jun 13 23:13:06 2001 +0000
@@ -6,6 +6,7 @@
 	* Updated the German translation (Thanks, Dominik)
 	* Some MSN changes
 	* Some HTML widget changes
+	* Can specify hosts/ports for Yahoo (thanks Jeremy Brooks)
 
 version 0.11.0-pre13 (06/06/2001):
 	* Can view/set chat topic in Jabber (thanks faceprint)
--- a/plugins/icq/gaim_icq.c	Wed Jun 13 23:12:20 2001 +0000
+++ b/plugins/icq/gaim_icq.c	Wed Jun 13 23:13:06 2001 +0000
@@ -500,11 +500,20 @@
 static void icq_insert_convo(struct gaim_connection *gc, struct conversation *c)
 {
 	GtkWidget *button;
+	struct icq_data *id = gc->proto_data;
+	GSList *l = id->thru_serv;
 
 	button = gtk_check_button_new_with_label("Send message through server");
 	gtk_box_pack_start(GTK_BOX(c->lbox), button, FALSE, FALSE, 5);
 	gtk_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(toggle_thru_serv), c);
 	gtk_object_set_user_data(GTK_OBJECT(button), gc);
+	while (l) {
+		if (who == (long)l->data)
+			break;
+		l = l->next;
+	}
+	if (l)
+		gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), TRUE);
 	gtk_widget_show(button);
 }