]> err.no Git - mapper/commitdiff
Widen the progress dialog and don't show it so the calling function can modify it...
authorKaj-Michael Lang <milang@tal.org>
Wed, 9 Apr 2008 08:32:20 +0000 (11:32 +0300)
committerKaj-Michael Lang <milang@tal.org>
Wed, 9 Apr 2008 08:32:20 +0000 (11:32 +0300)
src/dialogs.c

index 33a17e8ee81c0b5d584535e03f230a5691420777..5219e881b38742d7a8fd02f6f0cb194d4bb685c1 100644 (file)
@@ -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;
 }