comparison 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
comparison
equal deleted inserted replaced
4961:e5cebfe1bb0e 4962:b6fd57ba76e8
26 #include "prpl.h" 26 #include "prpl.h"
27 #include "multi.h" 27 #include "multi.h"
28 #include "gaim.h" 28 #include "gaim.h"
29 #include "conversation.h" 29 #include "conversation.h"
30 #include "gtklist.h" 30 #include "gtklist.h"
31 #include "gaim-disclosure.h"
31 32
32 #ifdef _WIN32 33 #ifdef _WIN32
33 #include "win32dep.h" 34 #include "win32dep.h"
34 #endif 35 #endif
35 36
1046 * a fucking Login Options frame, a fucking User Options frame and a fucking 1047 * a fucking Login Options frame, a fucking User Options frame and a fucking
1047 * Protcol Options frame. This fucking removes the two fucking tabs, which 1048 * Protcol Options frame. This fucking removes the two fucking tabs, which
1048 * were quite fucking uneccessary. Fuck. */ 1049 * were quite fucking uneccessary. Fuck. */
1049 /* -- SeanEgan */ 1050 /* -- SeanEgan */
1050 /* YEAH!! -- ChipX86 */ 1051 /* YEAH!! -- ChipX86 */
1051 GtkWidget *hbox, *vbox; 1052 GtkWidget *hbox, *vbox, *disc, *dbox;
1052 GtkWidget *button; 1053 GtkWidget *button;
1053 GtkWidget *sep; 1054 GtkWidget *sep;
1054 GtkSizeGroup *button_sg; 1055 GtkSizeGroup *button_sg;
1055 1056
1056 struct mod_account *ma = mod_account_find(a); 1057 struct mod_account *ma = mod_account_find(a);
1106 1107
1107 ma->sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); 1108 ma->sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
1108 1109
1109 generate_login_options(ma, ma->main); 1110 generate_login_options(ma, ma->main);
1110 generate_user_options(ma, ma->main); 1111 generate_user_options(ma, ma->main);
1111 generate_protocol_options(ma, ma->main); 1112 disc = gaim_disclosure_new(_("Show more options"), _("Show fewer options"));
1112 generate_proxy_options(ma, ma->main); 1113 gtk_box_pack_start(GTK_BOX(ma->main), disc, FALSE, FALSE, 0);
1114 gtk_widget_show(disc);
1115 dbox = gtk_vbox_new(FALSE, 12);
1116 gtk_container_set_border_width(GTK_CONTAINER(dbox), 6);
1117 gtk_box_pack_start(GTK_BOX(ma->main), dbox, FALSE, FALSE, 0);
1118 gaim_disclosure_set_container(GAIM_DISCLOSURE(disc), dbox);
1119 generate_protocol_options(ma, dbox);
1120 generate_proxy_options(ma, dbox);
1113 1121
1114 hbox = gtk_hbox_new(FALSE, 6); 1122 hbox = gtk_hbox_new(FALSE, 6);
1115 gtk_container_set_border_width (GTK_CONTAINER (hbox), 6); 1123 gtk_container_set_border_width (GTK_CONTAINER (hbox), 6);
1116 gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); 1124 gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);
1117 1125