aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-11-20 15:18:23 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-11-20 15:18:23 +0800
commit3d98eeac31a4ff23c22c6ab0350fb0ba80725032 (patch)
tree76ed13c327092122f77531639543624bdf43cac6
parent59951a4a1b6d83966963eb0cbb3c02ed1340cdeb (diff)
downloadgsoc2013-evolution-3d98eeac31a4ff23c22c6ab0350fb0ba80725032.tar.gz
gsoc2013-evolution-3d98eeac31a4ff23c22c6ab0350fb0ba80725032.tar.zst
gsoc2013-evolution-3d98eeac31a4ff23c22c6ab0350fb0ba80725032.zip
gnome message box -> gtk message dialog. (prepare_intelligent_page): Fix
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. svn path=/trunk/; revision=18856
-rw-r--r--shell/ChangeLog7
-rw-r--r--shell/e-shell-importer.c11
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);