Mercurial > pidgin
comparison src/conversation.c @ 3986:4faf2a9753cb
[gaim-migrate @ 4177]
People complain about accidentally hitting the X button. Let's see if this
helps.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 19 Nov 2002 18:20:29 +0000 |
parents | f118d61fb89a |
children | a997156437b6 |
comparison
equal
deleted
inserted
replaced
3985:f118d61fb89a | 3986:4faf2a9753cb |
---|---|
2796 | 2796 |
2797 cont = gtk_vbox_new(FALSE, 5); | 2797 cont = gtk_vbox_new(FALSE, 5); |
2798 gtk_container_set_border_width(GTK_CONTAINER(cont), 5); | 2798 gtk_container_set_border_width(GTK_CONTAINER(cont), 5); |
2799 /* this doesn't matter since we're resetting the name once we're out of the if */ | 2799 /* this doesn't matter since we're resetting the name once we're out of the if */ |
2800 /* gtk_notebook_insert_page(GTK_NOTEBOOK(convo_notebook), cont, gtk_label_new(c->name),*/ | 2800 /* gtk_notebook_insert_page(GTK_NOTEBOOK(convo_notebook), cont, gtk_label_new(c->name),*/ |
2801 tabby = gtk_hbox_new(FALSE, 0); | 2801 tabby = gtk_hbox_new(FALSE, 5); |
2802 c->close = gtk_button_new(); | 2802 c->close = gtk_button_new(); |
2803 gtk_widget_set_size_request(GTK_WIDGET(c->close), 16, 16); | 2803 gtk_widget_set_size_request(GTK_WIDGET(c->close), 16, 16); |
2804 gtk_container_add(GTK_CONTAINER(c->close), gtk_image_new_from_stock(GTK_STOCK_CLOSE, GTK_ICON_SIZE_MENU)); | 2804 gtk_container_add(GTK_CONTAINER(c->close), gtk_image_new_from_stock(GTK_STOCK_CLOSE, GTK_ICON_SIZE_MENU)); |
2805 gtk_button_set_relief(GTK_BUTTON(c->close), GTK_RELIEF_NONE); | 2805 gtk_button_set_relief(GTK_BUTTON(c->close), GTK_RELIEF_NONE); |
2806 c->tab_label = gtk_label_new(c->name); | 2806 c->tab_label = gtk_label_new(c->name); |