| 2335 gtk_widget_show(ca->text); |
2335 gtk_widget_show(ca->text); |
| 2336 gtk_box_pack_start(GTK_BOX(bbox), sw, TRUE, TRUE, 10); |
2336 gtk_box_pack_start(GTK_BOX(bbox), sw, TRUE, TRUE, 10); |
| 2337 |
2337 |
| 2338 /* make create button */ |
2338 /* make create button */ |
| 2339 create = gtk_button_new_with_label ("Create new message"); |
2339 create = gtk_button_new_with_label ("Create new message"); |
| 2340 gtk_box_pack_start(GTK_BOX(bbox), create, TRUE, TRUE, 0); |
2340 gtk_box_pack_start(GTK_BOX(bbox), create, FALSE, FALSE, 0); |
| 2341 gtk_signal_connect(GTK_OBJECT(create), "clicked", GTK_SIGNAL_FUNC(create_mess), ca); |
2341 gtk_signal_connect(GTK_OBJECT(create), "clicked", GTK_SIGNAL_FUNC(create_mess), ca); |
| 2342 |
2342 |
| 2343 /* Checkbox for showing away msg */ |
2343 /* Checkbox for showing away msg */ |
| 2344 ca->checkbx = gtk_check_button_new_with_label("Make away now"); |
2344 ca->checkbx = gtk_check_button_new_with_label("Make away now"); |
| 2345 |
2345 |
| 2346 /* pack boxes where they belong */ |
2346 /* pack boxes where they belong */ |
| 2347 gtk_box_pack_start(GTK_BOX(tbox), titlebox, TRUE, TRUE, 0); |
2347 gtk_box_pack_start(GTK_BOX(tbox), titlebox, FALSE, FALSE, 0); |
| 2348 gtk_box_pack_start(GTK_BOX(tbox), bbox, FALSE, FALSE, 0); |
2348 gtk_box_pack_start(GTK_BOX(tbox), bbox, TRUE, TRUE, 0); |
| 2349 gtk_box_pack_start(GTK_BOX(tbox), ca->checkbx, FALSE, FALSE, 0); |
2349 gtk_box_pack_start(GTK_BOX(tbox), ca->checkbx, FALSE, FALSE, 0); |
| 2350 gtk_container_add(GTK_CONTAINER(ca->window), tbox); |
2350 gtk_container_add(GTK_CONTAINER(ca->window), tbox); |
| 2351 |
2351 |
| 2352 /* let the world see what we have done. */ |
2352 /* let the world see what we have done. */ |
| 2353 gtk_widget_show(label); |
2353 gtk_widget_show(label); |