aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-importer.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-importer.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-importer.c')
-rw-r--r--shell/e-shell-importer.c25
1 files changed, 2 insertions, 23 deletions
diff --git a/shell/e-shell-importer.c b/shell/e-shell-importer.c
index f035161ace..aca476673c 100644
--- a/shell/e-shell-importer.c
+++ b/shell/e-shell-importer.c
@@ -1173,28 +1173,6 @@ next_intelligent_page (GnomeDruidPage *page,
return TRUE;
}
-/* Hack to change the Finish button */
-static void
-druid_finish_button_change (GnomeDruid *druid)
-{
- GtkWidget *button = druid->finish;
- GtkWidget *hbox = GTK_BIN (button)->child, *hbox2;
- GtkBoxChild *child;
- GtkWidget *label;
-
- /* Get the second item from the children list */
- hbox2 = ((GtkBoxChild *)GTK_BOX (hbox)->children->data)->widget;
-
- g_return_if_fail (GTK_IS_BOX (hbox2));
- child = (GtkBoxChild *)g_list_nth_data (GTK_BOX (hbox2)->children, 0);
- label = child->widget;
-
- /* Safety check :) */
- g_return_if_fail (GTK_IS_LABEL (label));
-
- gtk_label_set_text (GTK_LABEL (label), _("Import"));
-}
-
static void
dialog_weak_notify (void *data,
GObject *where_the_dialog_was)
@@ -1232,7 +1210,8 @@ show_import_wizard (BonoboUIComponent *component,
g_signal_connect (data->druid, "cancel",
G_CALLBACK (import_druid_cancel), data);
- druid_finish_button_change (GNOME_DRUID (data->druid));
+ gtk_button_set_label((GtkButton *)((GnomeDruid *)data->druid)->finish, _("Import"));
+
data->start = GNOME_DRUID_PAGE_EDGE (glade_xml_get_widget (data->wizard, "page0"));
data->typedialog = glade_xml_get_widget (data->wizard, "page1");