aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-importer.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-09-29 02:58:17 +0800
committerIain Holmes <iain@src.gnome.org>2001-09-29 02:58:17 +0800
commite6ab5554d4fe16cc816d8751b0206291ffeeccc5 (patch)
tree8b6ea8acb7336b8e37db01bae9cd3ae10969753e /shell/e-shell-importer.c
parent03dcbdb743e9fd4d8490f60830545a88e58776ef (diff)
downloadgsoc2013-evolution-e6ab5554d4fe16cc816d8751b0206291ffeeccc5.tar.gz
gsoc2013-evolution-e6ab5554d4fe16cc816d8751b0206291ffeeccc5.tar.zst
gsoc2013-evolution-e6ab5554d4fe16cc816d8751b0206291ffeeccc5.zip
Allow callers to set the default type of folder to be created.
svn path=/trunk/; revision=13220
Diffstat (limited to 'shell/e-shell-importer.c')
-rw-r--r--shell/e-shell-importer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/e-shell-importer.c b/shell/e-shell-importer.c
index b6981747d4..42de414c3b 100644
--- a/shell/e-shell-importer.c
+++ b/shell/e-shell-importer.c
@@ -549,7 +549,7 @@ static ImportDialogFilePage *
importer_file_page_new (ImportData *data)
{
ImportDialogFilePage *page;
- GtkWidget *table, *label;
+ GtkWidget *table, *label, *widget;
int row = 0;
page = g_new0 (ImportDialogFilePage, 1);
@@ -586,9 +586,9 @@ importer_file_page_new (ImportData *data)
page->filetype = gtk_option_menu_new ();
page->menu = create_plugin_menu (data);
gtk_option_menu_set_menu (GTK_OPTION_MENU (page->filetype), page->menu);
-
gtk_table_attach (GTK_TABLE (table), page->filetype, 1, 2,
row, row + 1, GTK_EXPAND | GTK_FILL, 0, 0, 0);
+
gtk_widget_show_all (table);
return page;
@@ -645,7 +645,7 @@ import_druid_finish (GnomeDruidPage *page,
_("Select folder"),
_("Select a destination folder for importing this data"),
e_shell_view_get_current_uri (data->view),
- NULL);
+ NULL, NULL);
gtk_signal_connect (GTK_OBJECT (folder), "folder_selected",
GTK_SIGNAL_FUNC (folder_selected), data);