From f5b9f67296456957e2f4b8143d3f37cfd10a2537 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Mon, 15 Oct 2007 12:06:45 +0300 Subject: [PATCH] Remove delete from progress dialog. --- src/ui-common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui-common.c b/src/ui-common.c index d9a9d52..5409665 100644 --- a/src/ui-common.c +++ b/src/ui-common.c @@ -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; -- 2.39.5