diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-05-20 00:11:47 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-05-20 00:11:47 +0800 |
commit | f093b333fbee67da990d50b513333272418276e7 (patch) | |
tree | 996e2aaf9806d7adf4bef6ed2e3f4d29d53546a7 /shell/e-shell-importer.c | |
parent | 3e519c4e1469b93c8fc6684b6aae53779d4ff270 (diff) | |
download | gsoc2013-evolution-f093b333fbee67da990d50b513333272418276e7.tar gsoc2013-evolution-f093b333fbee67da990d50b513333272418276e7.tar.gz gsoc2013-evolution-f093b333fbee67da990d50b513333272418276e7.tar.bz2 gsoc2013-evolution-f093b333fbee67da990d50b513333272418276e7.tar.lz gsoc2013-evolution-f093b333fbee67da990d50b513333272418276e7.tar.xz gsoc2013-evolution-f093b333fbee67da990d50b513333272418276e7.tar.zst gsoc2013-evolution-f093b333fbee67da990d50b513333272418276e7.zip |
Add a caption to the folder selection dialog widget, and get the
existing dialogs in the shell to use it.
svn path=/trunk/; revision=9894
Diffstat (limited to 'shell/e-shell-importer.c')
-rw-r--r-- | shell/e-shell-importer.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/shell/e-shell-importer.c b/shell/e-shell-importer.c index 0e66270a66..c8ab15aadf 100644 --- a/shell/e-shell-importer.c +++ b/shell/e-shell-importer.c @@ -590,15 +590,16 @@ import_druid_finish (GnomeDruidPage *page, ImportData *data) { GtkWidget *folder; + const char *foldername; char *filename; char *iid; - char *foldername; filename = g_strdup (gtk_entry_get_text (GTK_ENTRY (gnome_file_entry_gtk_entry (GNOME_FILE_ENTRY (data->filepage->filename))))); iid = g_strdup (data->choosen_iid); folder = e_shell_folder_selection_dialog_new (data->shell, _("Select folder"), + _("Select a destination folder for importing this data"), e_shell_view_get_current_uri (data->view), NULL); gtk_widget_destroy (data->dialog); @@ -607,10 +608,7 @@ import_druid_finish (GnomeDruidPage *page, switch (gnome_dialog_run (GNOME_DIALOG (folder))) { case 0: foldername = e_shell_folder_selection_dialog_get_selected_path (E_SHELL_FOLDER_SELECTION_DIALOG (folder)); - foldername = g_strdup (foldername); - start_import (foldername, filename, iid); - g_free (foldername); break; default: |