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/ChangeLog | 7 +++++++ shell/e-shell-importer.c | 11 ++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index c4f1bd4cba..d6f6e57bec 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,10 @@ +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. + 2002-11-19 Ettore Perazzoli * main.c (upgrade_from_1_0_if_needed): Disabled for now. 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 v1.2.3