aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-startup-wizard.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-02-05 12:47:03 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-02-05 12:47:03 +0800
commit38eef72722a185273aeaeaac83faa3b99c8dad00 (patch)
treeb8e514d73e17f6ec711d6826ccd964dafef62425 /shell/e-shell-startup-wizard.c
parent2dd6f4d7deacc0410411b47d77c1ba60cc927af0 (diff)
downloadgsoc2013-evolution-38eef72722a185273aeaeaac83faa3b99c8dad00.tar
gsoc2013-evolution-38eef72722a185273aeaeaac83faa3b99c8dad00.tar.gz
gsoc2013-evolution-38eef72722a185273aeaeaac83faa3b99c8dad00.tar.bz2
gsoc2013-evolution-38eef72722a185273aeaeaac83faa3b99c8dad00.tar.lz
gsoc2013-evolution-38eef72722a185273aeaeaac83faa3b99c8dad00.tar.xz
gsoc2013-evolution-38eef72722a185273aeaeaac83faa3b99c8dad00.tar.zst
gsoc2013-evolution-38eef72722a185273aeaeaac83faa3b99c8dad00.zip
re-enable. (prepare_importer_page): re-enable importer code.
2003-02-05 Not Zed <NotZed@Ximian.com> * e-shell-startup-wizard.c (start_importers): re-enable. (prepare_importer_page): re-enable importer code. * e-shell-importer.c (druid_finish_button_change): removed, since its not such a hack to change anymore. Dunno how to get an icon on it tho, without a stock button. (show_import_wizard): Change the apply button to "Import" here. 2003-01-28 Not Zed <NotZed@Ximian.com> * e-local-storage.c (create_folder_directory): We can't use pointer arithmetic with g_path_get_*, so adjust code accordingly. 2003-01-16 Not Zed <NotZed@Ximian.com> * e-shell-startup-wizard.c (e_shell_startup_wizard_create): Hook onto finish instead of next on the last page. svn path=/trunk/; revision=19753
Diffstat (limited to 'shell/e-shell-startup-wizard.c')
-rw-r--r--shell/e-shell-startup-wizard.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/shell/e-shell-startup-wizard.c b/shell/e-shell-startup-wizard.c
index ead8c2d1eb..3213f64009 100644
--- a/shell/e-shell-startup-wizard.c
+++ b/shell/e-shell-startup-wizard.c
@@ -262,7 +262,6 @@ free_importers (SWData *data)
static void
start_importers (GList *p)
{
-#if 0
CORBA_Environment ev;
for (; p; p = p->next) {
@@ -276,7 +275,6 @@ start_importers (GList *p)
}
CORBA_exception_free (&ev);
}
-#endif
}
static void
@@ -667,18 +665,15 @@ prepare_importer_page (GnomeDruidPage *page,
table = gtk_table_new (g_list_length (importers), 2, FALSE);
for (l = importers; l; l = l->next) {
-#if 0
GtkWidget *label;
CORBA_Environment ev;
gboolean can_run;
char *str;
-#endif
IntelligentImporterData *id;
-
+
id = g_new0 (IntelligentImporterData, 1);
id->iid = g_strdup (l->data);
-#if 0 /* FIXME */
CORBA_exception_init (&ev);
id->object = bonobo_activation_activate_from_id ((char *) id->iid, 0, NULL, &ev);
if (BONOBO_EX (&ev)) {
@@ -762,6 +757,7 @@ prepare_importer_page (GnomeDruidPage *page,
id->widget = bonobo_widget_new_control_from_objref (id->control, CORBA_OBJECT_NIL);
gtk_widget_show (id->widget);
} else {
+ printf("no control\n");
id->widget = gtk_label_new ("");
gtk_widget_show (id->widget);
}
@@ -783,7 +779,6 @@ prepare_importer_page (GnomeDruidPage *page,
gtk_box_pack_start (GTK_BOX (data->import_page->vbox), table,
FALSE, FALSE, 0);
-#endif
}
if (running == 0) {
@@ -884,7 +879,7 @@ e_shell_startup_wizard_create (void)
data->finish = glade_xml_get_widget (data->wizard, "done-page");
g_return_val_if_fail (data->start != NULL, FALSE);
g_return_val_if_fail (data->finish != NULL, FALSE);
- g_signal_connect (data->finish, "next", G_CALLBACK (finish_func), data);
+ g_signal_connect (data->finish, "finish", G_CALLBACK (finish_func), data);
make_mail_dialog_pages (data);
g_return_val_if_fail (data->mailer != CORBA_OBJECT_NIL, TRUE);