From 8c048763078e741fc0afe0cf7221ffbd03ed736f Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Wed, 9 Apr 2008 11:32:20 +0300 Subject: [PATCH] Widen the progress dialog and don't show it so the calling function can modify it before showing. --- src/dialogs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dialogs.c b/src/dialogs.c index 33a17e8..5219e88 100644 --- a/src/dialogs.c +++ b/src/dialogs.c @@ -50,9 +50,9 @@ gtk_window_set_modal(GTK_WINDOW(dialog), TRUE); gtk_window_set_deletable(GTK_WINDOW(dialog), FALSE); #endif /* gtk_window_set_decorated(GTK_WINDOW(dialog), FALSE); */ -gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), gtk_label_new(title), TRUE, TRUE, 0); -gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), progress, TRUE, TRUE, 0); -gtk_widget_show_all(dialog); +gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), gtk_label_new(title), TRUE, FALSE, 0); +gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), progress, TRUE, FALSE, 0); +gtk_window_set_default_size(GTK_WINDOW(dialog), 350, -1); return dialog; } -- 2.39.5