comparison src/multi.c @ 4550:972af41f277c

[gaim-migrate @ 4830] This looks infinitely nicer. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 07 Feb 2003 08:46:08 +0000
parents 61ba567f9c64
children 858979ab3867
comparison
equal deleted inserted replaced
4549:1752173a71c5 4550:972af41f277c
285 285
286 win = gtk_scrolled_window_new(0, 0); 286 win = gtk_scrolled_window_new(0, 0);
287 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(win), 287 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(win),
288 GTK_POLICY_AUTOMATIC, 288 GTK_POLICY_AUTOMATIC,
289 GTK_POLICY_ALWAYS); 289 GTK_POLICY_ALWAYS);
290 gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(win),
291 GTK_SHADOW_IN);
290 292
291 /* Create the list model. */ 293 /* Create the list model. */
292 model = gtk_list_store_new(NUM_COLUMNS, G_TYPE_STRING, G_TYPE_BOOLEAN, 294 model = gtk_list_store_new(NUM_COLUMNS, G_TYPE_STRING, G_TYPE_BOOLEAN,
293 G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_POINTER); 295 G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_POINTER);
294 296
1172 GtkWidget *hbox; 1174 GtkWidget *hbox;
1173 GtkWidget *sw; 1175 GtkWidget *sw;
1174 GtkWidget *button; /* used for many things */ 1176 GtkWidget *button; /* used for many things */
1175 GtkWidget *sep; 1177 GtkWidget *sep;
1176 GtkSizeGroup *sg; 1178 GtkSizeGroup *sg;
1177 GtkWidget *frame;
1178 1179
1179 if (acctedit) { 1180 if (acctedit) {
1180 gtk_window_present(GTK_WINDOW(acctedit)); 1181 gtk_window_present(GTK_WINDOW(acctedit));
1181 return; 1182 return;
1182 } 1183 }
1192 vbox = gtk_vbox_new(FALSE, 6); 1193 vbox = gtk_vbox_new(FALSE, 6);
1193 gtk_container_set_border_width(GTK_CONTAINER(vbox), 6); 1194 gtk_container_set_border_width(GTK_CONTAINER(vbox), 6);
1194 gtk_container_add(GTK_CONTAINER(acctedit), vbox); 1195 gtk_container_add(GTK_CONTAINER(acctedit), vbox);
1195 1196
1196 sw = generate_list(); 1197 sw = generate_list();
1197 frame = gtk_frame_new(NULL);
1198 gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_IN);
1199 gtk_container_add(GTK_CONTAINER(frame), sw);
1200 gtk_widget_show(frame);
1201
1202 hbox = gtk_hbox_new(FALSE, 6); 1198 hbox = gtk_hbox_new(FALSE, 6);
1203 gtk_box_pack_start(GTK_BOX(vbox), hbox, TRUE, TRUE, 6); 1199 gtk_box_pack_start(GTK_BOX(vbox), hbox, TRUE, TRUE, 6);
1204 1200
1205 gtk_box_pack_start(GTK_BOX(hbox), frame, TRUE, TRUE, 0); 1201 gtk_box_pack_start(GTK_BOX(hbox), sw, TRUE, TRUE, 0);
1206 1202
1207 #if 0 1203 #if 0
1208 vbox2 = gtk_vbox_new(TRUE, 5); 1204 vbox2 = gtk_vbox_new(TRUE, 5);
1209 gtk_box_pack_start(GTK_BOX(hbox), vbox2, FALSE, FALSE, 0); 1205 gtk_box_pack_start(GTK_BOX(hbox), vbox2, FALSE, FALSE, 0);
1210 1206