Mercurial > pidgin
comparison src/buddy_chat.c @ 844:fae1d64b0278
[gaim-migrate @ 854]
This is dumb but now it's not
pixmaps are prettier than my snot.
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Wed, 06 Sep 2000 19:51:51 +0000 |
parents | bac7089491c1 |
children | 647b110f7a1a |
comparison
equal
deleted
inserted
replaced
843:868e7a30b48a | 844:fae1d64b0278 |
---|---|
520 GtkWidget *sw2; | 520 GtkWidget *sw2; |
521 GtkWidget *vbox; | 521 GtkWidget *vbox; |
522 GtkWidget *vpaned; | 522 GtkWidget *vpaned; |
523 GtkWidget *hpaned; | 523 GtkWidget *hpaned; |
524 GtkWidget *toolbar; | 524 GtkWidget *toolbar; |
525 | |
525 gboolean dispstyle; | 526 gboolean dispstyle; |
526 | 527 |
527 win = gtk_window_new(GTK_WINDOW_TOPLEVEL); | 528 win = gtk_window_new(GTK_WINDOW_TOPLEVEL); |
528 b->window = win; | 529 b->window = win; |
529 | 530 |
534 gtk_widget_realize(win); | 535 gtk_widget_realize(win); |
535 | 536 |
536 dispstyle = (display_options & OPT_DISP_CHAT_SHOW_TEXT) ? TRUE : FALSE; | 537 dispstyle = (display_options & OPT_DISP_CHAT_SHOW_TEXT) ? TRUE : FALSE; |
537 | 538 |
538 close = picture_button2(win, _("Close"), cancel_xpm, dispstyle); | 539 close = picture_button2(win, _("Close"), cancel_xpm, dispstyle); |
540 | |
539 invite_btn = picture_button2(win, _("Invite"), join_xpm, dispstyle); | 541 invite_btn = picture_button2(win, _("Invite"), join_xpm, dispstyle); |
540 whisper = picture_button2(win, _("Whisper"), tb_forward_xpm, dispstyle); | 542 whisper = picture_button2(win, _("Whisper"), tb_forward_xpm, dispstyle); |
541 send = picture_button2(win, _("Send"), tmp_send_xpm, dispstyle); | 543 send = picture_button2(win, _("Send"), tmp_send_xpm, dispstyle); |
542 | 544 |
543 im = picture_button2(win, _("IM"), tmp_send_xpm, FALSE); | 545 im = picture_button2(win, _("IM"), tmp_send_xpm, FALSE); |
560 b->text = text; | 562 b->text = text; |
561 | 563 |
562 list = gtk_list_new(); | 564 list = gtk_list_new(); |
563 b->list = list; | 565 b->list = list; |
564 | 566 |
565 bbox = gtk_hbox_new(TRUE, 0); | 567 bbox = gtk_hbox_new(FALSE, 5); |
566 bbox2 = gtk_hbox_new(TRUE, 0); | 568 bbox2 = gtk_hbox_new(TRUE, 0); |
567 vbox = gtk_vbox_new(FALSE, 0); | 569 vbox = gtk_vbox_new(FALSE, 0); |
568 lbox = gtk_vbox_new(FALSE, 4); | 570 lbox = gtk_vbox_new(FALSE, 4); |
569 | 571 |
570 chatentry = gtk_text_new( NULL, NULL ); | 572 chatentry = gtk_text_new( NULL, NULL ); |
626 | 628 |
627 gtk_signal_connect(GTK_OBJECT(im), "clicked", GTK_SIGNAL_FUNC(im_callback), b); | 629 gtk_signal_connect(GTK_OBJECT(im), "clicked", GTK_SIGNAL_FUNC(im_callback), b); |
628 gtk_signal_connect(GTK_OBJECT(ignore), "clicked", GTK_SIGNAL_FUNC(ignore_callback), b); | 630 gtk_signal_connect(GTK_OBJECT(ignore), "clicked", GTK_SIGNAL_FUNC(ignore_callback), b); |
629 gtk_signal_connect(GTK_OBJECT(info), "clicked", GTK_SIGNAL_FUNC(info_callback), b); | 631 gtk_signal_connect(GTK_OBJECT(info), "clicked", GTK_SIGNAL_FUNC(info_callback), b); |
630 | 632 |
631 gtk_box_pack_start(GTK_BOX(bbox), send, TRUE, TRUE, 5); | 633 |
632 gtk_box_pack_start(GTK_BOX(bbox), whisper, TRUE, TRUE, 5); | 634 gtk_box_pack_end(GTK_BOX(bbox), close, dispstyle, dispstyle, 5); |
633 gtk_box_pack_start(GTK_BOX(bbox), invite_btn, TRUE, TRUE, 5); | 635 gtk_box_pack_end(GTK_BOX(bbox), invite_btn, dispstyle, dispstyle, 5); |
634 gtk_box_pack_start(GTK_BOX(bbox), close, TRUE, TRUE, 5); | 636 gtk_box_pack_end(GTK_BOX(bbox), whisper, dispstyle, dispstyle, 5); |
635 | 637 gtk_box_pack_end(GTK_BOX(bbox), send, dispstyle, dispstyle, 5); |
636 gtk_box_pack_start(GTK_BOX(bbox2), im, TRUE, TRUE, 5); | 638 |
637 gtk_box_pack_start(GTK_BOX(bbox2), ignore, TRUE, TRUE, 5); | 639 gtk_box_pack_start(GTK_BOX(bbox2), im, dispstyle, dispstyle, 5); |
638 gtk_box_pack_start(GTK_BOX(bbox2), info, TRUE, TRUE, 5); | 640 gtk_box_pack_start(GTK_BOX(bbox2), ignore, dispstyle, dispstyle, 5); |
641 gtk_box_pack_start(GTK_BOX(bbox2), info, dispstyle, dispstyle, 5); | |
639 | 642 |
640 /* pack and fill the rest */ | 643 /* pack and fill the rest */ |
641 | 644 |
642 | 645 |
643 gtk_paned_pack1(GTK_PANED(vpaned), hpaned, TRUE, FALSE); | 646 gtk_paned_pack1(GTK_PANED(vpaned), hpaned, TRUE, FALSE); |