From 3d98eeac31a4ff23c22c6ab0350fb0ba80725032 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 20 Nov 2002 07:18:23 +0000 Subject: gnome message box -> gtk message dialog. (prepare_intelligent_page): Fix 2002-11-20 Not Zed * e-shell-importer.c (prepare_intelligent_page): gnome message box -> gtk message dialog. (prepare_intelligent_page): Fix the signature on this. This could NEVER have worked. svn path=/trunk/; revision=18856 --- shell/e-shell-importer.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'shell/e-shell-importer.c') diff --git a/shell/e-shell-importer.c b/shell/e-shell-importer.c index 284b7d292d..645a0aa1df 100644 --- a/shell/e-shell-importer.c +++ b/shell/e-shell-importer.c @@ -760,8 +760,8 @@ get_intelligent_importers (void) } static gboolean -prepare_intelligent_page (GnomeDruid *druid, - GnomeDruidPage *page, +prepare_intelligent_page (GnomeDruidPage *page, + GnomeDruid *druid, ImportData *data) { GtkWidget *dialog; @@ -776,7 +776,8 @@ prepare_intelligent_page (GnomeDruid *druid, data->importerpage->prepared = TRUE; - dialog = gnome_message_box_new (_("Please wait...\nScanning for existing setups"), GNOME_MESSAGE_BOX_INFO, NULL); + dialog = gtk_message_dialog_new(NULL, 0, GTK_MESSAGE_INFO, GTK_BUTTONS_NONE, "%s", + _("Please wait...\nScanning for existing setups")); e_make_widget_backing_stored (dialog); gtk_window_set_title (GTK_WINDOW (dialog), _("Starting Intelligent Importers")); @@ -913,12 +914,12 @@ prepare_intelligent_page (GnomeDruid *druid, running, GTK_FILL, 0, 0, 0); gtk_table_attach (GTK_TABLE (table), id->widget, 1, 2, running - 1, running, GTK_FILL, 0, 3, 0); - gtk_widget_show_all (table); - gtk_box_pack_start (GTK_BOX (data->importerpage->vbox), table, FALSE, FALSE, 0); } + gtk_widget_show_all (table); + if (running == 0) { gnome_druid_set_page (druid, GNOME_DRUID_PAGE (data->finish)); gtk_widget_destroy (dialog); -- cgit