From ab7d63ce8e057eaa31a1777af0837cd1005e7f44 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 24 Sep 2002 20:05:20 +0000 Subject: Don't destroy the dialog. It does that itself whenever it emits * e-shell.c (folder_selection_dialog_folder_selected_cb): Don't destroy the dialog. It does that itself whenever it emits folder_selected. * e-shell-folder-selection-dialog.c (double_click_cb): Don't close the dialog if the user double-clicks a bad folder. Just ignore it (like we do when they click OK on a bad folder). svn path=/trunk/; revision=18205 --- shell/e-shell-folder-selection-dialog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 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 5a0296cbbb..f4300a2dd0 100644 --- a/shell/e-shell-folder-selection-dialog.c +++ b/shell/e-shell-folder-selection-dialog.c @@ -325,9 +325,9 @@ double_click_cb (EStorageSetView *essv, gtk_signal_emit (GTK_OBJECT (folder_selection_dialog), signals[FOLDER_SELECTED], e_shell_folder_selection_dialog_get_selected_path (folder_selection_dialog)); - } - gnome_dialog_close (GNOME_DIALOG (folder_selection_dialog)); + gnome_dialog_close (GNOME_DIALOG (folder_selection_dialog)); + } } -- cgit v1.2.3