aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-folder-selection-dialog.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-04-15 22:51:19 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-04-15 22:51:19 +0800
commitfbe64c2aee924f646e01c096e40094585615c086 (patch)
tree32e1fbaaf8ca862417b8e95dd90fc28934e75b49 /shell/e-shell-folder-selection-dialog.c
parent655592d3a8ee26b96142ef09fdf0cd1a8eb776ed (diff)
downloadgsoc2013-evolution-fbe64c2aee924f646e01c096e40094585615c086.tar
gsoc2013-evolution-fbe64c2aee924f646e01c096e40094585615c086.tar.gz
gsoc2013-evolution-fbe64c2aee924f646e01c096e40094585615c086.tar.bz2
gsoc2013-evolution-fbe64c2aee924f646e01c096e40094585615c086.tar.lz
gsoc2013-evolution-fbe64c2aee924f646e01c096e40094585615c086.tar.xz
gsoc2013-evolution-fbe64c2aee924f646e01c096e40094585615c086.tar.zst
gsoc2013-evolution-fbe64c2aee924f646e01c096e40094585615c086.zip
Pull up fix from the branch:
Make sure the OK button in the folder creation dialog is not sensitive if no parent folder is selected. Fix a Gtk-Warning that would happen if you selected "New" in the folder selection dialog and then "Cancel" in the folder creation dialog. svn path=/trunk/; revision=9325
Diffstat (limited to 'shell/e-shell-folder-selection-dialog.c')
-rw-r--r--shell/e-shell-folder-selection-dialog.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/e-shell-folder-selection-dialog.c b/shell/e-shell-folder-selection-dialog.c
index 1b6f456804..739ec0b62c 100644
--- a/shell/e-shell-folder-selection-dialog.c
+++ b/shell/e-shell-folder-selection-dialog.c
@@ -114,7 +114,9 @@ folder_creation_dialog_result_cb (EShell *shell,
dialog = E_SHELL_FOLDER_SELECTION_DIALOG (data);
priv = dialog->priv;
- e_storage_set_view_set_current_folder (E_STORAGE_SET_VIEW (priv->storage_set_view), path);
+ if (result == E_SHELL_FOLDER_CREATION_DIALOG_RESULT_SUCCESS)
+ e_storage_set_view_set_current_folder (E_STORAGE_SET_VIEW (priv->storage_set_view),
+ path);
}