comparison src/dialogs.c @ 769:c075cf268129

[gaim-migrate @ 779] I'm Only Sleeping by the Beatles when i wake up early in the morning lift my head, i'm still yawning when i'm in the middle of a dream stay in bed, float upstream (chorus) please don't wake me, no don't shake me, leave me where i am, i'm only sleeping everybody seems to think i'm lazy i don't mind. i think they're crazy running everywhere at such a speed until they find there's no need (chorus) (chorus) committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 25 Aug 2000 22:03:29 +0000
parents 936c132ea0a1
children bddbc51abc43
comparison
equal deleted inserted replaced
768:0b160e27904b 769:c075cf268129
778 c = find_conversation(who); 778 c = find_conversation(who);
779 779
780 add_buddy(grp, who, NULL); 780 add_buddy(grp, who, NULL);
781 781
782 if (c != NULL) { 782 if (c != NULL) {
783 gboolean dispstyle = (display_options & OPT_DISP_CONV_SHOW_TEXT) ? TRUE : FALSE;
783 GtkWidget *parent = c->add_button->parent; 784 GtkWidget *parent = c->add_button->parent;
784 gtk_widget_destroy(c->add_button); 785 gtk_widget_destroy(c->add_button);
785 c->add_button = picture_button2(c->window, _("Remove"), gnome_remove_xpm, display_options & OPT_DISP_CONV_SHOW_TEXT); 786 c->add_button = picture_button2(c->window, _("Remove"), gnome_remove_xpm, dispstyle);
786 gtk_signal_connect(GTK_OBJECT(c->add_button), "clicked", GTK_SIGNAL_FUNC(add_callback), c); 787 gtk_signal_connect(GTK_OBJECT(c->add_button), "clicked", GTK_SIGNAL_FUNC(add_callback), c);
787 gtk_box_pack_end(GTK_BOX(parent), c->add_button, FALSE, FALSE, 0); 788 gtk_box_pack_end(GTK_BOX(parent), c->add_button, dispstyle, dispstyle, 0);
788 gtk_box_reorder_child(GTK_BOX(parent), c->add_button, 1); 789 gtk_box_reorder_child(GTK_BOX(parent), c->add_button, 1);
789 gtk_widget_show(c->add_button); 790 gtk_widget_show(c->add_button);
790 } 791 }
791 792
792 build_edit_tree(); 793 build_edit_tree();