From dd032fc24deb2a760040b08bb18aa687b762f0d3 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Fri, 11 May 2001 21:19:33 +0000 Subject: Ask for a folder to import into. svn path=/trunk/; revision=9775 --- shell/e-shell-folder-selection-dialog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'shell/e-shell-folder-selection-dialog.c') diff --git a/shell/e-shell-folder-selection-dialog.c b/shell/e-shell-folder-selection-dialog.c index 8674b5b599..14ceab70b7 100644 --- a/shell/e-shell-folder-selection-dialog.c +++ b/shell/e-shell-folder-selection-dialog.c @@ -162,7 +162,7 @@ dbl_click_cb (EStorageSetView *essv, e_shell_folder_selection_dialog_get_selected_path (folder_selection_dialog)); } - gtk_widget_destroy (GTK_WIDGET (folder_selection_dialog)); + gnome_dialog_close (GNOME_DIALOG (folder_selection_dialog)); } @@ -185,12 +185,12 @@ impl_clicked (GnomeDialog *dialog, if (check_folder_type (folder_selection_dialog)) { gtk_signal_emit (GTK_OBJECT (folder_selection_dialog), signals[FOLDER_SELECTED], e_shell_folder_selection_dialog_get_selected_path (folder_selection_dialog)); - gtk_widget_destroy (GTK_WIDGET (dialog)); + gnome_dialog_close (GNOME_DIALOG (dialog)); } break; case 1: /* Cancel */ gtk_signal_emit (GTK_OBJECT (folder_selection_dialog), signals[CANCELLED]); - gtk_widget_destroy (GTK_WIDGET (dialog)); + gnome_dialog_close (GNOME_DIALOG (dialog)); break; case 2: /* Add */ storage_set_view = E_STORAGE_SET_VIEW (priv->storage_set_view); -- cgit v1.2.3