comparison src/dialogs.c @ 4778:85c6c3a60503

[gaim-migrate @ 5098] It helps when you commit stuff committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 14 Mar 2003 22:59:58 +0000
parents 92ae181271e9
children 66be56dc86cb
comparison
equal deleted inserted replaced
4777:e23a7e166680 4778:85c6c3a60503
491 if (filename) { 491 if (filename) {
492 img = gtk_image_new_from_file(filename); 492 img = gtk_image_new_from_file(filename);
493 g_free(filename); 493 g_free(filename);
494 gtk_misc_set_alignment(GTK_MISC(img), 0, 0); 494 gtk_misc_set_alignment(GTK_MISC(img), 0, 0);
495 } 495 }
496 d = gtk_dialog_new_with_buttons("Gaim", NULL, 0, GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL); 496 d = gtk_dialog_new_with_buttons("", NULL, 0, GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL);
497 g_signal_connect(d, "response", G_CALLBACK(gtk_widget_destroy), NULL); 497 g_signal_connect(d, "response", G_CALLBACK(gtk_widget_destroy), NULL);
498 498
499 gtk_container_set_border_width (GTK_CONTAINER(d), 6); 499 gtk_container_set_border_width (GTK_CONTAINER(d), 6);
500 gtk_window_set_resizable(GTK_WINDOW(d), FALSE); 500 gtk_window_set_resizable(GTK_WINDOW(d), FALSE);
501 gtk_dialog_set_has_separator(GTK_DIALOG(d), FALSE); 501 gtk_dialog_set_has_separator(GTK_DIALOG(d), FALSE);