]> err.no Git - mapper/commitdiff
Remove delete from progress dialog.
authorKaj-Michael Lang <milang@angel.tal.org>
Mon, 15 Oct 2007 09:06:45 +0000 (12:06 +0300)
committerKaj-Michael Lang <milang@angel.tal.org>
Mon, 15 Oct 2007 09:06:45 +0000 (12:06 +0300)
src/ui-common.c

index d9a9d52dea37624e2bcd256c240bbe633890734f..540966516abe3d518aa9d54c90d40faa8886e2c8 100644 (file)
@@ -861,7 +861,9 @@ dialog = gtk_dialog_new();
 gtk_window_set_title(GTK_WINDOW(dialog), title);
 gtk_window_set_transient_for(GTK_WINDOW(dialog), GTK_WINDOW(_window));
 gtk_window_set_modal(GTK_WINDOW(dialog), TRUE);
-gtk_window_set_default_size(GTK_WINDOW(dialog), 300, 100);
+gtk_window_set_deletable(GTK_WINDOW(dialog), FALSE);
+/* gtk_window_set_decorated(GTK_WINDOW(dialog), FALSE); */
+/* gtk_window_set_default_size(GTK_WINDOW(dialog), 300, 100); */
 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), progress, TRUE, TRUE, 0);
 gtk_widget_show_all(dialog);
 return dialog;