Mercurial > pidgin.yaz
diff src/toc.c @ 1842:1d137dde946f
[gaim-migrate @ 1852]
irc can go through proxies. isn't that swell (that's my work o' the week, isn't it). next: msn, jabber, napster. probably in that order.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 12 May 2001 06:42:02 +0000 |
parents | 00aef397a1fe |
children | 4dbd8533d209 |
line wrap: on
line diff
--- a/src/toc.c Sat May 12 06:38:25 2001 +0000 +++ b/src/toc.c Sat May 12 06:42:02 2001 +0000 @@ -1008,7 +1008,7 @@ gtk_widget_show(button); } -static void toc_print_option(GtkEntry * entry, struct aim_user *user) +static void toc_print_option(GtkEntry *entry, struct aim_user *user) { int entrynum; @@ -1053,7 +1053,6 @@ gtk_notebook_append_page(GTK_NOTEBOOK(book), vbox, gtk_label_new("TOC Options")); gtk_widget_show(vbox); - hbox = gtk_hbox_new(FALSE, 5); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); gtk_widget_show(hbox); @@ -1077,14 +1076,13 @@ gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); gtk_widget_show(hbox); - label = gtk_label_new("TOC Port:"); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); gtk_widget_show(label); entry = gtk_entry_new(); gtk_box_pack_end(GTK_BOX(hbox), entry, FALSE, FALSE, 0); - gtk_object_set_user_data(GTK_OBJECT(entry), (void *)1); + gtk_object_set_user_data(GTK_OBJECT(entry), (void *)USEROPT_AUTHPORT); gtk_signal_connect(GTK_OBJECT(entry), "changed", GTK_SIGNAL_FUNC(toc_print_option), user); if (user->proto_opt[USEROPT_AUTHPORT][0]) { debug_printf("setting text %s\n", user->proto_opt[USEROPT_AUTHPORT]); @@ -1094,7 +1092,6 @@ gtk_widget_show(entry); - hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); gtk_widget_show(hbox); @@ -1113,7 +1110,6 @@ } gtk_widget_show(entry); - hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); gtk_widget_show(hbox); @@ -1132,7 +1128,6 @@ } gtk_widget_show(entry); - first = gtk_radio_button_new_with_label(NULL, "No proxy"); gtk_box_pack_start(GTK_BOX(vbox), first, FALSE, FALSE, 0); gtk_object_set_user_data(GTK_OBJECT(first), (void *)PROXY_NONE);