diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 7 | ||||
-rw-r--r-- | 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 <NotZed@Ximian.com> + + * 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 <ettore@ximian.com> * 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); |