diff src/multi.c @ 4962:b6fd57ba76e8

[gaim-migrate @ 5296] I was looking at faceprint's patch and decided this might be a good idea. I think it probably is. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 02 Apr 2003 09:08:32 +0000
parents 89cb14edf8cf
children 54cd43869333
line wrap: on
line diff
--- a/src/multi.c	Wed Apr 02 06:43:57 2003 +0000
+++ b/src/multi.c	Wed Apr 02 09:08:32 2003 +0000
@@ -28,6 +28,7 @@
 #include "gaim.h"
 #include "conversation.h"
 #include "gtklist.h"
+#include "gaim-disclosure.h"
 
 #ifdef _WIN32
 #include "win32dep.h"
@@ -1048,7 +1049,7 @@
 	 * were quite fucking uneccessary. Fuck. */
 				/* -- SeanEgan */
 				/* YEAH!! -- ChipX86 */
-	GtkWidget *hbox, *vbox;
+	GtkWidget *hbox, *vbox, *disc, *dbox;
 	GtkWidget *button;
 	GtkWidget *sep;
 	GtkSizeGroup *button_sg;
@@ -1108,8 +1109,15 @@
 
 	generate_login_options(ma, ma->main);
 	generate_user_options(ma, ma->main);
-	generate_protocol_options(ma, ma->main);
-	generate_proxy_options(ma, ma->main);
+	disc = gaim_disclosure_new(_("Show more options"), _("Show fewer options"));
+	gtk_box_pack_start(GTK_BOX(ma->main), disc, FALSE, FALSE, 0);
+	gtk_widget_show(disc);
+	dbox = gtk_vbox_new(FALSE, 12);
+	gtk_container_set_border_width(GTK_CONTAINER(dbox), 6);
+	gtk_box_pack_start(GTK_BOX(ma->main), dbox, FALSE, FALSE, 0);
+	gaim_disclosure_set_container(GAIM_DISCLOSURE(disc), dbox);
+	generate_protocol_options(ma, dbox);
+	generate_proxy_options(ma, dbox);
 
 	hbox = gtk_hbox_new(FALSE, 6);
 	gtk_container_set_border_width (GTK_CONTAINER (hbox), 6);